nil::crypto3::hashes::blake2b< DigestBits > Class Template Reference
Blake2b. A recently designed hashes function. Very fast on 64-bit processors. Can output a hashes of any length between 1 and 64 bytes, this is specified by passing a value to the constructor with the desired length. More...
#include <blake2b.hpp>
Collaboration diagram for nil::crypto3::hashes::blake2b< DigestBits >:
Classes | |
struct | construction |
struct | stream_processor |
Public Types | |
typedef policy_type::block_type | block_type |
typedef policy_type::digest_type | digest_type |
typedef policy_type::word_type | word_type |
Static Public Attributes | |
constexpr static const std::size_t | block_bits = policy_type::block_bits |
constexpr static const std::size_t | block_words = policy_type::block_words |
constexpr static const std::size_t | digest_bits = DigestBits |
constexpr static const std::size_t | word_bits = policy_type::word_bits |
Detailed Description
template<std::size_t DigestBits>
class nil::crypto3::hashes::blake2b< DigestBits >
Blake2b. A recently designed hashes function. Very fast on 64-bit processors. Can output a hashes of any length between 1 and 64 bytes, this is specified by passing a value to the constructor with the desired length.
- Template Parameters
-
DigestBits
Member Typedef Documentation
◆ block_type
template<std::size_t DigestBits>
typedef policy_type::block_type nil::crypto3::hashes::blake2b< DigestBits >::block_type |
◆ digest_type
template<std::size_t DigestBits>
typedef policy_type::digest_type nil::crypto3::hashes::blake2b< DigestBits >::digest_type |
◆ word_type
template<std::size_t DigestBits>
typedef policy_type::word_type nil::crypto3::hashes::blake2b< DigestBits >::word_type |
Member Data Documentation
◆ block_bits
template<std::size_t DigestBits>
|
staticconstexpr |
◆ block_words
template<std::size_t DigestBits>
|
staticconstexpr |
◆ digest_bits
template<std::size_t DigestBits>
|
staticconstexpr |
◆ word_bits
template<std::size_t DigestBits>
|
staticconstexpr |
The documentation for this class was generated from the following file: