shishi_crypto_decrypt(3)
π shishi_crypto_decrypt β the one where we unlock the data β¨
okay so bestie, welcome to the shishi_crypto_decrypt(3) page from the shishi manual π β this is the glow-up where your encrypted lil blob gets turned back into readable bytes. no cap.
πΈ NAME πΈ
shishi_crypto_decrypt β it's an API function, periodt π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_crypto_decrypt(Shishi_crypto * ctx, const char * in, size_t
inlen, char ** out, size_t * outlen);
she's a five-argument girlie and she's serving π₯
π«Ά ARGUMENTS π«Ά
Shishi_crypto * ctxβ the crypto context, and literally the only place you should get one of these from isshishi_crypto(). that's the vibe, don't freelance it πconst char * inβ your input array, aka the data you wanna decrypt. the locked-up lil thing πsize_t inlenβ how big that input array is. size of the data to decrypt, that's it, that's the girl πΈchar ** outβ output array with the newly allocated decrypted data. she's fresh, she's new, somebody's gotta free her eventually (see below, iykyk) β¨size_t * outlenβ output variable that tells you how big that newly allocated output array is π
π DESCRIPTION π
so what she does is decrypt data, using the info hanging out in the context β like the key and the initialization vector. all that good stuff lives in ctx and she just... uses it. main character energy fr fr π
the IV is updated inside the context after this call. like, not before, not during β after. so heads up that your context is not the same context it was a second ago π¦
and then β the important part β when the application no longer needs to use the context, it should deallocate resources associated with it by calling shishi_crypto_close(). do not ghost your context, bestie, that's rude and also a leak π
β RETURN VALUE β
Returns SHISHI_OK iff successful. iff!! that's the whole bar. clear it or don't π
π REPORTING BUGS π
found a bug? spill 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.
(yeah she's royalty-free, go off, redistribute responsibly π)
π 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. go read the whole thing, it's giving β¨π
and that's the page, bestie!! this was shishi_crypto_decrypt(3) from shishi 1.0.3, brought to you by the shishi gang β mwah, stay decrypted, stay hydrated ππ¦πΈ
π¦ 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