shishi_cipher_randomlen(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– shishi_cipher_randomlen(3) β€” the shishi girlies' manual πŸ’–

okay so bestie, welcome to the shishi section 3 club πŸŽ€ this whole page lives in the shishi manual, and today's main character is shishi_cipher_randomlen β€” she's an API function and she's literally so useful, no cap.


✨ NAME ✨

shishi_cipher_randomlen β€” API function πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

size_t shishi_cipher_randomlen(int32_t type);

like. that's it. that's the whole vibe. one include, one function call, slay ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • int32_t type β€” the encryption type, bestie. see Shishi_etype for the deets πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so what does she actually do?? she gets the length of random data for the cipher. that's the assignment. that's the whole job. she's not doing the encryption, she's not generating the randomness, she's just telling you how much random data the cipher needs. lowkey iconic of her honestly 🫢


⭐ RETURN VALUE ⭐

she returns the length of random used for the encryption type, as defined in the standards πŸ“œ β€” or (size_t)-1 on error. and what counts as an error?? like, e.g., an unsupported encryption type 😭

so basically: real number = we're so back. (size_t)-1 = it's over. check your type, bestie πŸ’€

πŸ› REPORTING BUGS πŸ›

found a bug?? not her being messy πŸ™ˆ report it to <bug-shishi@gnu.org>.


Copyright Β© 2002-2022 Simon Josefsson.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. periodt. πŸ’…


🌈 SEE ALSO 🌈

the full documentation for shishi is maintained as a Texinfo manual πŸ“– if the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. iykyk 🧚


and that's the whole page, bestie!! this lil manual moment comes to you from shishi version 1.0.3, and yeah the footer says shishi_cipher_randomlen(3) β€” we been knew πŸ’– mwah, go read your standards, ily πŸŽ€βœ¨πŸ¦‹