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

Synopsis

Declared in <llvm/Support/SHA256.h>

static
std::array<uint8_t, 32>
hash(ArrayRef<uint8_t> Data);

Return Value

The 32‐byte SHA‐256 digest of Data.

Parameters

Name

Description

Data

Bytes to hash in a single shot.

Created with MrDocs