Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
Classes | |
class | sha< Traits > |
Typedefs | |
typedef traits_type::digest_type | digest_type |
typedef sha< implementation::sha1_traits_t > | sha1_t |
A bit-oriented implementation of the SHA-1 Secure Hash Algorithm. | |
typedef sha< implementation::sha224_traits_t > | sha224_t |
A bit-oriented implementation of the SHA-224 Secure Hash Algorithm. | |
typedef sha< implementation::sha256_traits_t > | sha256_t |
A bit-oriented implementation of the SHA-256 Secure Hash Algorithm. | |
typedef sha< implementation::sha384_traits_t > | sha384_t |
A bit-oriented implementation of the SHA-384 Secure Hash Algorithm. | |
typedef sha< implementation::sha512_traits_t > | sha512_t |
A bit-oriented implementation of the SHA-512 Secure Hash Algorithm. |
Functions | |
sha () | |
template<typename I> | |
void | update (I first, I last) |
template<typename I> | |
void | update (I first, std::uint64_t num_bits) |
digest_type | finalize () |
template<typename I> | |
static digest_type | digest (I first, I last) |
template<typename I> | |
static digest_type | digest (I first, std::uint64_t num_bits) |
typedef traits_type::digest_type digest_type |
sha | ( | ) |
void update | ( | I | first, |
I | last ) |
This routine can be called successively to digest a data over one or more steps.
sizeof(std::iterator_traits<I>::value_type)
must be 1first | first iterator over the range to digest |
last | last iterator over the range to digest |
void update | ( | I | first, |
std::uint64_t | num_bits ) |
This routine can be called successively to digest a data over one or more steps.
sizeof(std::iterator_traits<I>::value_type)
must be 1first | first iterator over the range to digest |
num_bits | number of bits to digest |
digest_type finalize | ( | ) |
sizeof(std::iterator_traits<I>::value_type)
must be 1first | first iterator over the range to digest |
last | last iterator over the range to digest |
|
static |
sizeof(std::iterator_traits<I>::value_type)
must be 1first | first iterator over the range to digest |
num_bits | number of bits to digest |