LIBKECCAK_STATE_WIPE_SPONGE(3)

πŸ“¦ version 1.4.3, in arch rolling, opensuse-leap 16.0

πŸ’… LIBKECCAK_...WIPE_SPONGE(3) β€” like, the page itself

okay so this is a page from the Library Functions Manual, section 3, and it's all about libkeccak_state_wipe_sponge. yes the title in the header is literally abbreviated with ... and no, that's not me being lazy, that's just how the man page ships. iykyk πŸ’–


✨ NAME ✨

libkeccak_state_wipe_sponge β€” securely erase the Keccak sponge state πŸ§½πŸ’€

like, genuinely securely. we're not just waving goodbye, we're scrubbing.


🌸 SYNOPSIS 🌸

#include <libkeccak.h>

void libkeccak_state_wipe_sponge(struct libkeccak_state *state);

and bestie, don't forget to link with -lkeccak or nothing's gonna work and you'll be sad 😭


πŸ¦‹ DESCRIPTION πŸ¦‹

so the libkeccak_state_wipe_sponge() function securely erases the state of the Keccak sponge.

that's it, that's the whole vibe. it takes the sponge state and it wipes it. securely. no leftover crumbs, no "oops forgot a byte" energy. iconic behavior honestly πŸ‘‘


πŸŽ€ RETURN VALUES πŸŽ€

libkeccak_state_wipe_sponge() does not return any value.

it's a void function, so there's literally nothing to check. no return code, no drama, no "did it work?" anxiety. slay πŸ’…


πŸ”₯ ERRORS πŸ”₯

libkeccak_state_wipe_sponge() cannot fail.

bestie it literally cannot. failing isn't in its vocabulary. main character energy fr fr ✨


πŸ’œ SEE ALSO πŸ’œ

your little reading list, go off πŸ‘€


ok tiny reminder before you go: it says securely erase, so trust the function and don't try to be cute and reimplement it yourself. the man page said secure, so it's secure. periodt 🫢

and that's the whole page!! the footer down there says LIBKECCAK β€” that's the source/version, and the page name gets repeated on the right side too, LIBKECCAK_...WIPE_SPONGE(3), because man pages love a little symmetry. mwah πŸ’‹ go wipe some sponges responsibly bestie πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from