14 #ifndef TLX_DIGEST_SHA512_HEADER 15 #define TLX_DIGEST_SHA512_HEADER 34 SHA512(
const void* data, uint32_t size);
39 void process(
const void* data, uint32_t size);
77 #endif // !TLX_DIGEST_SHA512_HEADER void finalize(void *digest)
finalize computation and output 64 byte (512 bit) digest
std::string digest()
finalize computation and return 64 byte (512 bit) digest
std::string digest_hex()
finalize computation and return 64 byte (512 bit) digest hex encoded
std::string digest_hex_uc()
finalize computation and return 64 byte (512 bit) digest upper-case hex
SHA512()
construct empty object.
void process(const void *data, uint32_t size)
process more data
std::string sha512_hex(const void *data, uint32_t size)
process data and return 64 byte (512 bit) digest hex encoded
SHA-512 processor without external dependencies.
static constexpr size_t kDigestLength
digest length in bytes
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
std::string sha512_hex_uc(const void *data, uint32_t size)
process data and return 64 byte (512 bit) digest upper-case hex encoded