lhashes
1.0.0
C++ hashes library
|
A Hasher object that calculates a SHA224 hash. More...
#include <lhashes_sha224.h>
Public Member Functions | |
std::string | getHash () final |
Retrieves the calculated SHA224 hash value as a string. More... | |
std::size_t | getLengthOfHash () const final |
Returns 56. More... | |
void | update (const unsigned char *message, std::size_t len) final |
Updates the internal state of the hasher with new data. More... | |
Public Member Functions inherited from limes::hash::Hasher | |
virtual | ~Hasher ()=default |
Destructor. More... | |
virtual void | update (std::string_view input) |
Updates the internal state of the hasher with some new data. More... | |
Related Functions | |
(Note that these are not member functions.) | |
LHASH_EXPORT std::string | sha224 (const char *input, std::size_t length) |
Calculates a SHA224 hash for the given data. More... | |
LHASH_EXPORT std::string | sha224 (std::string_view input) |
Calculates a SHA224 hash for the given data. More... | |
Related Functions inherited from limes::hash::Hasher | |
LHASH_EXPORT std::unique_ptr< Hasher > | createHasherForType (Type type) |
Creates an appropriate Hasher for the given Type. More... | |
LHASH_EXPORT std::string | hash (Type type, const char *input, std::size_t length) |
Calculates a hash value for the input data using a hasher appropriate for the desired type. More... | |
LHASH_EXPORT std::string | hash (Type type, std::string_view input) |
Calculates a hash value for the input data using a hasher appropriate for the desired type. More... | |
A Hasher object that calculates a SHA224 hash.
Definition at line 37 of file lhashes_sha224.h.
|
finalvirtual |
Retrieves the calculated SHA224 hash value as a string.
Implements limes::hash::Hasher.
|
finalvirtual |
Returns 56.
Implements limes::hash::Hasher.
|
finalvirtual |
Updates the internal state of the hasher with new data.
Implements limes::hash::Hasher.