sha3_256(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sha3_256 β€” like, the whole SHA3-256 thing in ONE shot

okay so this is a page from the Kernel API Manual, bestie. it's giving crypto, it's giving convenience function, and honestly? it ate. 🫢


✨ NAME ✨

sha3_256 β€” compute a SHA3-256 digest in one shot πŸ’–


🌸 SYNOPSIS 🌸

void sha3_256 (const u8 *in , size_t in_len , u8
out[SHA3_256_DIGEST_SIZE] );

πŸŽ€ ARGUMENTS πŸŽ€

  • in β€” the input data to be digested, like literally the stuff you're hashing πŸ“
  • in_len β€” length of the input data, measured in bytes (yes, bytes, keep up πŸ’…)
  • out β€” the buffer where the digest gets stored. it's an array of SHA3_256_DIGEST_SIZE, no cap πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so this is the convenience function that computes a SHA3-256 digest for you. 🧚

the vibe check here is simple: use THIS instead of the incremental API if you're able to hand over all the input at once. like, all of it. at one time. if you CAN do that, this is the main character. periodt. πŸ”₯


🌈 CONTEXT 🌈

Any context. literally any. she's flexible like that. ✨


πŸ’œ SEE ALSO πŸ’œ

okay bestie, the friend group is BIG, let me introduce everyone πŸ‘‘


ngl, if you needed the incremental version instead, that's what all those _init / _update / _final besties are for. iykyk πŸ’…

and that's the whole page, bestie! this one ships out of ./include/crypto, dated October 2026 β€” mwah, iconic, no notes πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from