shishi_cipher_confoundersize(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

πŸ’– NAME πŸ’–

okay so bestie, welcome to shishi_cipher_confoundersize β€” it's an API function from the shishi manual, and it's here to tell you how big a confounder is. yes that's a real word. yes it's adorable. let's go ✨


🌸 SYNOPSIS 🌸

the vibe check starts here, no cap:

#include <shishi.h>

int shishi_cipher_confoundersize(int32_t type);

that's the whole entrance exam. two lines. slay πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • int32_t type β€” this is the encryption type, and the page says to go look at Shishi_etype for the deets. so like, it's the "which cipher are we talking about" slot, and you gotta fill it in properly or nothing's gonna make sense 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

Get the length of the confounder for the cipher. that's it. that's the whole job. it's giving "small but essential," main character energy in a two-sentence body paragraph πŸ’…


⭐ RETURN VALUE ⭐

it hands you back the size of the confounder β€” that's the random data, bestie, the little sprinkle of chaos that goes in β€” for the encryption type you asked about, exactly as defined in the standards πŸ“

and if things go wrong? you get (size_t)-1. for example when the encryption type is unsupported. so like, if you see that, it's not a size, it's a scream 😭 don't treat it as a number.


😭 REPORTING BUGS 😭

found a bug? do NOT suffer in silence, tell the people:


Copyright Β© 2002-2022 Simon Josefsson.

and the licensing vibe is extremely generous, fr fr: copying and distribution of this file, with or without modification, are permitted in any medium without royalty, as long as the copyright notice and this notice are preserved. iconic. periodt πŸ’œ


🌈 SEE ALSO 🌈

the full documentation for shishi lives in a Texinfo manual β€” yes, the whole thing, the director's cut πŸ‘‘

if the info and shishi programs are properly installed at your site, then running:

info shishi

should give you access to the complete manual. iykyk πŸ”₯


and that's the page!! this one shipped as part of shishi 1.0.3 (yes, that's the version, written as shishi_cipher_confoundersize(3) in the footer because section 3 is where all the library functions hang out) β€” tysm for reading, go call the function, know your confounder size, and stay hydrated bestie πŸ§šπŸ’–βœ¨