Implementation of the SHA-1 (Secure Hash Algorithm 1) More...
#include <SHA256.h>
Public Member Functions | |
virtual const char * | name () const noexcept override |
Get identifier of the hash as used in the HashFactory. More... | |
virtual std::string | hash (const void *data, int length) override |
Compute 256 bit hash using SHA-1. More... | |
Static Public Attributes | |
static const char * | Name = "SHA256" |
Identifier of the hash. | |
Implementation of the SHA-1 (Secure Hash Algorithm 1)
|
overridevirtual |
Compute 256 bit hash using SHA-1.
data | Binary data |
length | Lenght of the binary data |
Implements serialbox::Hash.
Definition at line 206 of file SHA256.cpp.
|
inlineoverridevirtualnoexcept |
Get identifier of the hash as used in the HashFactory.
Implements serialbox::Hash.