EVP_MD2(3SSL)
π EVP_MD2 π
okay bestie, welcome to the EVP_MD2 page from the OpenSSL manual, section 3SSL. yes it's a short one. yes it's still important. sit with me π«Ά
β¨ NAME β¨
EVP_md2 β MD2 For EVP
like, the whole vibe of this page is: how do i get my hands on the MD2 message digest through the EVP layer. that's it. that's the page π
πΈ SYNOPSIS πΈ
#include <openssl/evp.h>
const EVP_MD *EVP_md2(void);
one include, one function, no arguments, no drama. iconic behavior honestly β¨
π¦ DESCRIPTION π¦
so MD2 is a cryptographic hash function. it's standardized in RFC 1319 and it was designed by Ronald Rivest. a classic, a legend, a whole era π
heads up though: this implementation is only available with the legacy provider. not the default one. so if you're sitting there like "why isn't EVP_md2 working bestie π" β check your provider, iykyk.
EVP_md2()β the MD2 algorithm, which produces a 128-bit output from a given input. that's the whole job description π
π₯ NOTES π₯
devs, listen up, this part matters: calling this function multiple times has negative performance implications. no cap. it's giving wasteful.
so instead, please consider using EVP_MD_fetch(3) together with EVP_MD-MD2(7). see "Performance" in crypto(7) for further information β it's all laid out there, go read it fr fr π
π RETURN VALUES π
these functions return an EVP_MD structure that contains the implementation of the message digest. that's your whole prize π
π CONFORMING TO π
IETF RFC 1319. periodt.
π SEE ALSO π
the friend group. the squad. go say hi π«Ά
πΈ 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>.
like, legally speaking, read the License. pls. for me π
and that's the page bestie!! this was OpenSSL version 4.0.3, dated 2026-09-29 π mwah, go hash something (responsibly, with the legacy provider) πβ¨
π¦ 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