#include <sha1.h>
Public Types | |
using | uchar = unsigned char |
using | digest_t = std::array< uchar, digest_sz > |
Public Member Functions | |
sha1 () | |
sha1 (std::string const &mesg) | |
sha1 (char const mesg) | |
void | reset () |
sha1 & | operator<< (std::string const &mesg) |
sha1 & | operator<< (char const mesg) |
digest_t | digest () |
Static Public Attributes | |
static std::size_t constexpr | digest_sz {20} |
Private Attributes | |
SHA_CTX | context |
using cet::sha1::digest_t = std::array<uchar, digest_sz> |
using cet::sha1::uchar = unsigned char |
sha1::sha1 | ( | ) |
|
explicit |
sha1::digest_t sha1::digest | ( | ) |
sha1 & sha1::operator<< | ( | std::string const & | mesg | ) |
void sha1::reset | ( | ) |