Finalize a SHA‐512 digest and write SHA512_DIGEST_LENGTH bytes to md (deprecated).

Synopsis

Declared in <openssl/sha.h>

[[deprecated]]
int
SHA512_Final(
    unsigned char* md,
    SHA512_CTX* c);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

md

Destination buffer for the digest.

c

Context previously updated with SHA512_Update().

Created with MrDocs