shishi_cipher_parse(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_parse ✨

okay bestie, welcome to the shishi girlies' corner πŸ’– this one lives in section 3 of the manual (the library-functions section, iykyk), and it's a tiny little glow-up of a function. no cap, it's short, but it's so useful.


🌸 NAME 🌸

shishi_cipher_parse β€” it's an API function πŸŽ€ that's literally the whole job description.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_cipher_parse(const char * cipher);

πŸ’… ARGUMENTS πŸ’…

  • const char * cipher β€” bestie this is just the name of the encryption type, like as a string, e.g. "des3-cbc-sha1-kd". that's it. that's the whole input. 🫢

🌈 DESCRIPTION 🌈

so the vibe here is: you hand it a string, and it goes and gets you the cipher number by parsing that string. like a little translator between "cute human-readable name" and "number the code actually wants". obsessed. ✨


⭐ RETURN VALUE ⭐

it returns the encryption type that corresponds to your string. the string goes in, the matching encryption type comes out. periodt. πŸ’…


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me manifesting that 😭 but fr fr, 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. (translation: it's free, just keep the receipts, bestie 🧚)


🌸 SEE ALSO 🌸

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

info shishi

should give you access to the complete manual. go read it, it's giving main character energy πŸ”₯


and that's the whole page, bestie!! πŸ’– this was shishi_cipher_parse(3) from shishi version 1.0.3 β€” thanks for reading, mwah, slay, bye πŸŽ€πŸ¦‹πŸŒΈπŸ’