nil::crypto3::pbkdf::pbkdf2< MessageAuthenticationCode > Class Template Reference
#include <pbkdf2.hpp>
Collaboration diagram for nil::crypto3::pbkdf::pbkdf2< MessageAuthenticationCode >:
Public Types | |
typedef policy_type::digest_type | digest_type |
typedef policy_type::mac_type | mac_type |
typedef policy_type::salt_type | salt_type |
Public Member Functions | |
size_t | derive (digest_type &digest, const std::string &passphrase, const salt_type &salt, size_t iterations, std::chrono::milliseconds msec) |
Static Public Attributes | |
constexpr static const std::size_t | digest_bits = policy_type::digest_bits |
constexpr static const std::size_t | salt_bits = policy_type::salt_bits |
Detailed Description
template<typename MessageAuthenticationCode>
class nil::crypto3::pbkdf::pbkdf2< MessageAuthenticationCode >
- Template Parameters
-
MessageAuthenticationCode
Member Typedef Documentation
◆ digest_type
template<typename MessageAuthenticationCode >
typedef policy_type::digest_type nil::crypto3::pbkdf::pbkdf2< MessageAuthenticationCode >::digest_type |
◆ mac_type
template<typename MessageAuthenticationCode >
typedef policy_type::mac_type nil::crypto3::pbkdf::pbkdf2< MessageAuthenticationCode >::mac_type |
◆ salt_type
template<typename MessageAuthenticationCode >
typedef policy_type::salt_type nil::crypto3::pbkdf::pbkdf2< MessageAuthenticationCode >::salt_type |
Member Function Documentation
◆ derive()
template<typename MessageAuthenticationCode >
|
inline |
Member Data Documentation
◆ digest_bits
template<typename MessageAuthenticationCode >
|
staticconstexpr |
◆ salt_bits
template<typename MessageAuthenticationCode >
|
staticconstexpr |
The documentation for this class was generated from the following file: