sha3_256(9)
π 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 ofSHA3_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 π
- Kernel file
./include/crypto/sha3.h struct sha3_ctx(9)sha3_zeroize_ctx(9)struct shake_ctx(9)shake_zeroize_ctx(9)sha3_224_init(9)sha3_256_init(9)sha3_384_init(9)sha3_512_init(9)sha3_update(9)sha3_final(9)shake128_init(9)shake256_init(9)shake_update(9)shake_squeeze(9)sha3_224(9)sha3_384(9)sha3_512(9)shake128(9)shake256(9)
ngl, if you needed the incremental version instead, that's what all those_init/_update/_finalbesties 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms