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