shishi_key_from_string(3)
π shishi_key_from_string β the manual page, but make it cute β¨
okay bestie, so this is shishi_key_from_string(3) from the shishi manual β yes, that shishi, the GNU one. sit down, hydrate, we're making keys out of strings and it's gonna be iconic π
β¨ NAME β¨
shishi_key_from_string β API function π
π SYNOPSIS π
#include <shishi.h>
int shishi_key_from_string(Shishi * handle, int32_t type, const char *
password, size_t passwordlen, const char * salt, size_t saltlen, const
char * parameter, Shishi_key ** outkey);
π¦ ARGUMENTS π¦
Shishi * handleβ the Shishi library handle, the one you made withshishi_init(). your main character, basically πint32_t typeβ type of key. yeah. that's the whole description. slay β¨const char * passwordβ input array containing password. the secret. the tea. π€«size_t passwordlenβ length of input array containing password. how long the tea is π΅const char * saltβ input array containing salt. yes like actual seasoning for your crypto π§size_t saltlenβ length of input array containing salt. how much seasoning πΈconst char * parameterβ input array with opaque encryption type specific information. "opaque" meaning bestie you do NOT get to peek inside, it's encryption-type-specific and that's all we're telling you πShishi_key ** outkeyβ pointer to structure that will hold newly created key information. this is where the baby key goes π«Ά
π DESCRIPTION π
Create a new Key information structure, and set the key type and key value using shishi_string_to_key(). KEY contains a newly allocated structure only if this function is successful β so like, don't go dereferencing on a failed call, that's not the vibe π
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the whole deal. no cap π
π₯ REPORTING BUGS π₯
Found a bug? not me finding a bug π report it 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. (translation: share it, remix it, just keep the receipts π§Ύ)
π 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 it, it's giving β¨π
ngl if you got this far you're lowkey a Unix legend. periodt. π
okay bye ily β this was shishi_key_from_string(3), from the shishi manual, version 1.0.3, and that's the whole page 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