#include <sha.hpp>
Definition at line 990 of file sha.hpp.
◆ digest_type
A boost::array<boost::uint64_t, 8>
for the 512-bit digest
Definition at line 996 of file sha.hpp.
◆ digest() [1/2]
- 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.
◆ digest() [2/2]
- 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.