EVP_SHA3_224(3)
π EVP_SHA3_224 β Secure Hash Algorithm 3 for EVP π
okay so bestie, welcome to the library functions manual for EVP_SHA3_224(3) β yes that's the page name, and yes we're gonna get into it. This is from the libcrypto library manual, and honestly? It's giving short-and-sweet crypto realness. Let's go. β¨
πΈ NAME πΈ
EVP_sha3_224, EVP_sha3_256, EVP_sha3_384, EVP_sha3_512 β Secure Hash Algorithm 3 for EVP. That's the whole vibe. Four functions, one iconic little family. π
π¦ SYNOPSIS π¦
Library: libcrypto
#include <openssl/evp.h>
const EVP_MD *
EVP_sha3_224(void);
const EVP_MD *
EVP_sha3_256(void);
const EVP_MD *
EVP_sha3_384(void);
const EVP_MD *
EVP_sha3_512(void);
Four functions, all returning a const EVP_MD *, all taking void. Literally no arguments, no drama. Periodt. π
β¨ DESCRIPTION β¨
So SHA-3 (that's Secure Hash Algorithm 3, iykyk) is a whole family of cryptographic hash functions, and it got standardized in NIST FIPS 202, first published in 2015. It's based on the Keccak algorithm β and ngl, Keccak is kind of the main character here. π
And here's the lineup, bestie:
EVP_sha3_224()β implementsSHA3-224, produces224bits of output from a given input.EVP_sha3_256()β implementsSHA3-256, produces256bits of output from a given input.EVP_sha3_384()β implementsSHA3-384, produces384bits of output from a given input.EVP_sha3_512()β implementsSHA3-512, produces512bits of output from a given input.
See the pattern? The number in the name is literally the bit count of the output. No cap, it's that clean. π§ Each one just takes a given input and gives you back that many bits of hash. Slay.
π«Ά RETURN VALUES π«Ά
Every single one of these functions returns a pointer to a static EVP_MD object implementing the hash function. That's it. That's the return value. Static object, pointer to it, done. πβ¨
π₯ SEE ALSO π₯
Go read those next, bestie. They're the whole context for how you actually use an EVP_MD. π¦
β STANDARDS β
NIST FIPS 202 β the one and only. Iconic document, honestly. π
and that's the page!! π tysm for reading, bestie β this one came from Debian, dated June 8, 2025, and that's the whole EVP_SHA3_224(3) experience. now go hash something and slay ππ·
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2017 The OpenSSL Project. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms