shishi_cipher_randomlen(3)
π 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. seeShishi_etypefor 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 yourtype, bestie π
π REPORTING BUGS π
found a bug?? not her being messy π report it to <bug-shishi@gnu.org>.
- GNU Shishi home page: http://www.gnu.org/software/shishi/
- General help using GNU software: http://www.gnu.org/gethelp/
π COPYRIGHT π
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 πβ¨π¦
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms