55 std::array<std::uint8_t, 32>
bytes{};
58 std::string
Hex()
const;
Definition configured.hpp:34
Digest256 Sha256(std::string_view data)
SHA-256 (FIPS 180-4) of a byte string.
Definition algorithm_builder.hpp:36
A 256-bit content digest – the output of Sha256, used as a persistent identity key.
Definition sha256.hpp:53
bool operator==(Digest256 const &other) const
Bytewise equality.
Definition sha256.hpp:61
std::string Hex() const
The digest as 64 lowercase hex characters (the cross-session interchange form).
bool operator<(Digest256 const &other) const
Lexicographic byte order, so Digest256 can key ordered containers.
Definition sha256.hpp:65
bool operator!=(Digest256 const &other) const
Bytewise inequality.
Definition sha256.hpp:63
std::array< std::uint8_t, 32 > bytes
The raw 32 digest bytes, big-endian word order per FIPS 180-4.
Definition sha256.hpp:55