15 #ifndef SERIALBOX_CORE_HASH_SHA256_H 16 #define SERIALBOX_CORE_HASH_SHA256_H 36 virtual const char*
name() const noexcept
override {
return Name; }
44 virtual std::string
hash(
const void* data,
int length)
override;
virtual std::string hash(const void *data, int length) override
Compute 256 bit hash using SHA-1.
virtual const char * name() const noexcept override
Get identifier of the hash as used in the HashFactory.
static const char * Name
Identifier of the hash.
Namespace of the serialbox library.
Hash algorithm interface.
Implementation of the SHA-1 (Secure Hash Algorithm 1)