A hasher class for SHA‐512.

Synopsis

Declared in <crypto/sha512.h>

class CSHA512;

Member Functions

Name

Description

CSHA512 [constructor]

Construct a hasher in its initial state.

Finalize

Produce the digest of all data written so far.

Reset

Reset the hasher back to its initial state.

Size

Number of bytes hashed so far.

Write

Absorb more data into the hash state.

Static Data Members

Name

Description

OUTPUT_SIZE

Size of the SHA‐512 digest in bytes.

Non-Member Functions

Name

Description

RandAddDynamicEnv

Gather non‐cryptographic environment data that changes over time.

RandAddStaticEnv

Gather non‐cryptographic environment data that does not change over time.

Created with MrDocs