Compute the RIPEMD‐160 digest of n bytes at d in one shot (deprecated; prefer EVP_Digest).

Synopsis

Declared in <openssl/ripemd.h>

[[deprecated]]
unsigned char*
RIPEMD160(
    unsigned char const* d,
    size_t n,
    unsigned char* md);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Pointer to the digest bytes (md, or the static buffer when md is NULL).

Parameters

Name

Description

d

Input message bytes.

n

Length of d in bytes.

md

Output buffer for the 20‐byte digest, or NULL to use a static buffer.

Created with MrDocs