A bit-oriented implementation of the SHA-256 Secure Hash Algorithm.
#include <sha.hpp>
List of all members.
Detailed Description
Definition at line 958 of file sha.hpp.
Member Typedef Documentation
A boost::array<boost::uint32_t, 8>
for the 256-bit digest
Definition at line 964 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-256 digest of the message
Definition at line 967 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-256 digest of the message
Definition at line 975 of file sha.hpp.