EVP_BLAKE2B512(3SSL)
π EVP_BLAKE2B512 π
okay so bestie, this page is from the OpenSSL manual, section 3SSL β and it's literally the glow-up story of BLAKE2, fr fr. Let's get into it β¨
β¨ NAME β¨
EVP_blake2b512, EVP_blake2s256 β BLAKE2 For EVP π«Ά
πΈ SYNOPSIS πΈ
#include <openssl/evp.h>
const EVP_MD *EVP_blake2b512(void);
const EVP_MD *EVP_blake2s256(void);
π¦ DESCRIPTION π¦
So BLAKE2 is the upgraded, main-character version of BLAKE β and BLAKE was submitted to the NIST SHA-3 algorithm competition, no cap. Both the BLAKE2s and BLAKE2b algorithms are described in RFC 7693. The way that RFC has lore π
EVP_blake2s256()β the BLAKE2s algorithm, which produces a 256-bit output from a given input. Lowkey iconic.EVP_blake2b512()β the BLAKE2b algorithm, which produces a 512-bit output from a given input. Bigger. Badder. Slay.
β NOTES β
Devs, listen up bestie π β you should be aware of the negative performance implications of calling these functions multiple times. Like, it's giving not-it. Instead, consider using EVP_MD_fetch(3) with EVP_MD-BLAKE2(7). See "Performance" in crypto(7) for further information.
Also, both algorithms support a variable-length digest, but that's only available through EVP_MD-BLAKE2(7). So if you want the flexible one, go there. Periodt. π
π RETURN VALUES π
These functions return an EVP_MD structure that contains the implementation of the message digest. That's the whole vibe check β it just hands you the goods π
π CONFORMING TO π
RFC 7693. Certified, fr fr β¨
π§ SEE ALSO π§
π COPYRIGHT π
Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
and that's a wrap, angel πΈ this was OpenSSL 4.0.3, dated 2026-09-29, page EVP_BLAKE2B512(3SSL) β go forth and hash responsibly, iykyk πβ¨π«Ά
π¦ where this page comes from
- ubuntu stonking: libssl-doc 4.0.3-1ubuntu1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms