#include <sha.hpp>
Definition at line 885 of file sha.hpp.
§ digest_type
A boost::array<boost::uint32_t, 5>
for the 160-bit digest
Definition at line 891 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-1 digest of the message
Definition at line 894 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-1 digest of the message
Definition at line 902 of file sha.hpp.