EVP_MD-SHA2(7ossl)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 15.1

πŸ’– EVP_MD-SHA2 β€” the SHA2 glow-up, explained

okay so bestie, this is a page from the OpenSSL manual set (7ossl section, the "miscellaneous / conventions" girlies) and it's literally all about The SHA2 EVP_MD implementation. No cap.


✨ NAME ✨

EVP_MD-SHA2 β€” the SHA2 EVP_MD implementation. that's the whole name, she's concise πŸ’…


🌸 DESCRIPTION 🌸

So basically: this is the support for computing SHA2 digests through the EVP_MD API. That's it. That's the vibe check. πŸ¦‹

πŸŽ€ Identities πŸŽ€

This implementation includes the following varieties β€” and they're grouped by which provider you can find them in, so pay attention bestie πŸ‘‘

  • Available with the FIPS provider as well as the default provider:
    • SHA2-224 β€” Known names are "SHA2-224", "SHA-224" and "SHA224".
    • SHA2-256 β€” Known names are "SHA2-256", "SHA-256" and "SHA256".
    • SHA2-384 β€” Known names are "SHA2-384", "SHA-384" and "SHA384".
    • SHA2-512 β€” Known names are "SHA2-512", "SHA-512" and "SHA512".
  • Available with the default provider:
    • SHA2-256/192 β€” Known names are "SHA2-256/192", "SHA-256/192" and "SHA256-192".
    • SHA2-512/224 β€” Known names are "SHA2-512/224", "SHA-512/224" and "SHA512-224".
    • SHA2-512/256 β€” Known names are "SHA2-512/256", "SHA-512/256" and "SHA512-256".
ngl the naming situation is giving "three nicknames, one girl" β€” same digest, different aliases, so don't come for me when your code uses "SHA256" and someone else's uses "SHA2-256". they're the same, iykyk 😌

🧚 Gettable Parameters 🧚

This implementation supports the common gettable parameters described in EVP_MD-common(7). that's the lore, go read the sister page πŸ“–βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹


Copyright 2020-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>.


okay that's the whole page, bestie, you ate it up πŸ“πŸ’œ

version 3.5.6 Β· dated 2026-04-07 Β· EVP_MD-SHA2(7ossl) β€” mwah, go hash something iconic πŸ’…βœ¨

πŸ“¦ where this page comes from