llvm::SHA1

A class that wrap the SHA1 algorithm.

Synopsis

Declared in <llvm/Support/SHA1.h>

class SHA1;

Member Functions

NameDescription
SHA1 [constructor]Construct a SHA1 hasher with initial state.
final Return the current raw 160-bit SHA1 digest.
init Reinitialize the internal state
result Return the current raw 160-bit SHA1 digest without finalizing state.
update Digest more data.

Static Member Functions

NameDescription
hash Returns a raw 160-bit SHA1 hash for the given data.