A bit-oriented implementation of the SHA-224 Secure Hash Algorithm.
#include <sha.hpp>
List of all members.
Public Types |
typedef boost::array
< boost::uint32_t, 7 > | digest_type |
Public Member Functions |
template<typename I > |
digest_type | digest (I first, I last) |
template<typename I > |
digest_type | digest (I first, boost::uint64_t num_bits) |
Detailed Description
Definition at line 917 of file sha.hpp.
Member Typedef Documentation
A boost::array<boost::uint32_t, 7>
for the 224-bit digest
Definition at line 923 of file sha.hpp.
Member Function Documentation
- Precondition:
sizeof(std::iterator_traits<I>::value_type)
must be 1
- Parameters:
-
first | first iterator over the range to hash |
last | last iterator over the range to hash |
- Returns:
- The SHA-224 digest of the message
Definition at line 926 of file sha.hpp.
- Precondition:
sizeof(std::iterator_traits<I>::value_type)
must be 1
- Parameters:
-
first | first iterator over the range to hash |
num_bits | number of bits to hash |
- Returns:
- The SHA-224 digest of the message
Definition at line 934 of file sha.hpp.