shishi_cipher_blocksize(3)
β¨ shishi_cipher_blocksize(3) β¨
okay so bestie, we're in section 3 of the shishi manual (that's the library-functions section, the "call these from your C code" zone) and today's main character is shishi_cipher_blocksize. yes she's tiny. yes she matters. let's get into it π
πΈ NAME πΈ
shishi_cipher_blocksize β it's an API function, babes. that's the whole job description.
π SYNOPSIS π
first, you gotta let her in:
#include <shishi.h>
int shishi_cipher_blocksize(int32_t type);
she takes one lil int32_t and hands you back an int. cute, clean, no drama. π¦
π ARGUMENTS π
int32_t typeβ the encryption type, bestie. like, which cipher are we talking about here? you go look that up inShishi_etype, that's where all the type codes live. iykyk π
β¨ DESCRIPTION β¨
she gives you the block size for a cipher. that's it. that's the function. you tell her the encryption type, she tells you how big the block is. no cap, sometimes the smallest functions are the ones you'd miss the most π
π RETURN VALUE π
you get back the block size for that encryption type, exactly as it's defined in the standards. not vibes-based. not vibes-adjacent. standards-based. periodt. β
π REPORTING BUGS π
found a bug? not me gatekeeping the bug report β send it straight to:
<bug-shishi@gnu.org>
and if you need the bigger picture:
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - general help using GNU software:
http://www.gnu.org/gethelp/
don't sit on it, bestie, tell them π«Ά
π 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.
(translation: go off, remix it, share it, just keep the receipt π§Ύβ¨)
π SEE ALSO π
the full documentation for shishi lives in a Texinfo manual. if the info pages and the shishi programs are properly installed on your system, this:
info shishi
should open up the whole complete manual for you. go read, queen π
and that's the page!! sending you off with the version and the date like a lil friendship bracelet β this is from shishi 1.0.3, dated with love, and she's shishi_cipher_blocksize(3) forever π mwah, go call your ciphers bestie π
π¦ 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