# phpman > man > EVP_MD-MDC2(7)

[EVP_MD-MDC2(7SSL)](https://www.chedong.com/phpMan.php/man/EVPMD-MDC2/7SSL/markdown)                              OpenSSL                             [EVP_MD-MDC2(7SSL)](https://www.chedong.com/phpMan.php/man/EVPMD-MDC2/7SSL/markdown)



## NAME
       EVP_MD-MDC2 - The MDC2 EVP_MD implementation

## DESCRIPTION
       Support for computing MDC2 digests through the **EVP**___**MD** API.

### Identity
       This implementation is only available with the legacy provider, and is identified with the
       name "MDC2".

### Gettable Parameters
       This implementation supports the common gettable parameters described in **EVP**___**[MD-common**(7)](https://www.chedong.com/phpMan.php/man/MD-common/7/markdown).

### Settable Context Parameters
       This implementation supports the following **OSSL**___**[PARAM**(3)](https://www.chedong.com/phpMan.php/man/PARAM/3/markdown) entries, settable for an **EVP**___**MD**___**CTX**
       with **EVP**___**MD**___**CTX**___**set**___**[params**(3)](https://www.chedong.com/phpMan.php/man/params/3/markdown):

       "pad-type" (**OSSL**___**DIGEST**___**PARAM**___**PAD**___**TYPE**) <unsigned integer>
           Sets the padding type to be used.  Normally the final MDC2 block is padded with zeros.
           If the pad type is set to 2 then the final block is padded with 0x80 followed by zeros.

## SEE ALSO
       **EVP**___**MD**___**CTX**___**set**___**[params**(3)](https://www.chedong.com/phpMan.php/man/params/3/markdown), [**provider-digest**(7)](https://www.chedong.com/phpMan.php/man/provider-digest/7/markdown), **OSSL**___**[PROVIDER-legacy**(7)](https://www.chedong.com/phpMan.php/man/PROVIDER-legacy/7/markdown)

## COPYRIGHT
       Copyright 2020-2021 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>>.



3.0.2                                        2026-06-02                            [EVP_MD-MDC2(7SSL)](https://www.chedong.com/phpMan.php/man/EVPMD-MDC2/7SSL/markdown)
