Incremental SHA‐256 message‐digest computation.

Synopsis

Declared in <llvm/Support/SHA256.h>

class SHA256;

Member Functions

Name

Description

SHA256 [constructor]

Construct a SHA256 hasher with initial state.

final

Return the raw 256‐bit SHA256 digest and finalize the state.

init

Reinitialize the internal state

result

Return the current raw 256‐bit SHA256 digest without finalizing state.

update

Digest more data.

Static Member Functions

Name

Description

hash

Returns a raw 256‐bit SHA256 hash for the given data.

Created with MrDocs