shishi_cipher_blocksize(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_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 in Shishi_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:

don't sit on it, bestie, tell them 🫢


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 πŸŽ€