A bit-oriented implementation of the SHA-512 Secure Hash Algorithm.
#include <sha.hpp>
List of all members.
Detailed Description
Definition at line 990 of file sha.hpp.
Member Typedef Documentation
A boost::array<boost::uint64_t, 8>
for the 512-bit digest
Definition at line 996 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-512 digest of the message
- Note:
- While the SHA standard specifies the ability to process messages of 2^128 in length, currently this SHA-512 implementation only handles messages up to 2^64 in length.
Definition at line 999 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-512 digest of the message
- Note:
- While the SHA standard specifies the ability to process messages of 2^128 in length, currently this SHA-512 implementation only handles messages up to 2^64 in length.
Definition at line 1007 of file sha.hpp.