![]() |
AnCH Framework
0.1
Another C++ Hack Framework
|
SHA2 224/256 implementation. More...
#include <sha224_256.hpp>
Public Member Functions | |
SHA224_256 () | |
template<class CharT , class Traits , class Allocator > | |
SHA224_256 (const std::basic_string< CharT, Traits, Allocator > &data) | |
template<class CharT , class Traits > | |
SHA224_256 (std::basic_istream< CharT, Traits > &stream) | |
virtual | ~SHA224_256 () |
![]() | |
SHA2 () | |
virtual | ~SHA2 () |
virtual const std::array< uint8_t, O > & | digest () const override |
![]() | |
template<class CharT , class Traits , class Allocator > | |
const std::array< uint8_t, O > & | digest (const std::basic_string< CharT, Traits, Allocator > &data) |
template<std::size_t N> | |
const std::array< uint8_t, O > & | digest (const std::array< uint8_t, N > &data) |
const std::array< uint8_t, O > & | digest (const uint8_t *data, std::size_t len) |
template<class CharT , class Traits > | |
const std::array< uint8_t, O > & | digest (std::basic_istream< CharT, Traits > &stream) |
Friends | |
SHA224_256 | anch::crypto::HMAC (const std::string &, const std::string &) |
Additional Inherited Members | |
![]() | |
static constexpr std::size_t | getOutputSize () |
static constexpr std::size_t | getBlockSize () |
![]() | |
static constexpr uint32_t | shiftRight (uint8_t bits, uint32_tword) |
static constexpr uint32_t | rotateLeft (uint8_t bits, uint32_tword) |
static constexpr uint32_t | rotateRight (uint8_t bits, uint32_tword) |
SHA2 224/256 implementation.
Header only implementation with SHA224 and SHA256 type defintion.
|
inline |
SHA224_256 default constructor
|
inline |
SHA224_256 constructor with string
data | The string data to process |
|
inline |
SHA224_256 constructor with input stream.
stream | The input stream to process |
|
inlinevirtual |
SHA224_256 destructor