TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
Contains hash array and functions to update it and convert it to a hexadecimal string. More...
Public Member Functions | |
void | update (const std::array< uint32_t, 64 > &blocks) |
Updates the hash array. | |
std::string | to_string () const |
Convert the hash to a hexadecimal string. | |
Private Attributes | |
std::array< uint32_t, 8 > | hash |
Contains hash array and functions to update it and convert it to a hexadecimal string.
Definition at line 40 of file sha256.cpp.
std::string hashing::sha256::Hash::to_string | ( | ) | const |
Convert the hash to a hexadecimal string.
Definition at line 130 of file sha256.cpp.
void hashing::sha256::Hash::update | ( | const std::array< uint32_t, 64 > & | blocks | ) |
Updates the hash array.
blocks | Message schedule array |
Definition at line 67 of file sha256.cpp.
|
private |
Definition at line 43 of file sha256.cpp.