EVP\_MD4(3ossl) OpenSSL EVP\_MD4(3ossl)

# [NAME](#NAME)

EVP\_md4 - MD4 For EVP

# [SYNOPSIS](#SYNOPSIS)

```
 #include <openssl/evp.h>
 const EVP_MD *EVP_md4(void);
```

# [DESCRIPTION](#DESCRIPTION)

MD4 is a cryptographic hash function standardized in RFC 1320 and designed by Ronald Rivest, first published in 1990. This implementation is only available with the legacy provider.

[**EVP\_md4()**](#EVP_md4%28%29)

The MD4 algorithm which produces a 128-bit output from a given input.

# [NOTES](#NOTES)

Developers should be aware of the negative performance implications of calling this function multiple times and should consider using [**EVP\_MD\_fetch**(3)](/man/os/openssl/EVP_MD_fetch.3) with [**EVP\_MD-MD4**(7)](/man/os/openssl/EVP_MD-MD4.7) instead. See "Performance" in [**crypto**(7)](/man/os/openssl/crypto.7) for further information.

# [RETURN VALUES](#RETURN_VALUES)

These functions return a **EVP\_MD** structure that contains the implementation of the message digest. See [**EVP\_MD\_meth\_new**(3)](/man/os/openssl/EVP_MD_meth_new.3) for details of the **EVP\_MD** structure.

# [CONFORMING TO](#CONFORMING_TO)

IETF RFC 1320.

# [SEE ALSO](#SEE_ALSO)

[**evp**(7)](/man/os/openssl/evp.7), [**provider**(7)](/man/os/openssl/provider.7), [**EVP\_DigestInit**(3)](/man/os/openssl/EVP_DigestInit.3)

# [COPYRIGHT](#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 &lt;https://www.openssl.org/source/license.html&gt;.

2026-09-29 3.6.5

---

Document: EVP_md4(3ossl) from openssl 3.6.5-r5 (Chainguard OS)
Source: https://github.com/openssl/openssl
