pbkdf2.hpp
Go to the documentation of this file.
Definition: pbkdf2.hpp:41
constexpr static const std::size_t digest_bits
Definition: pbkdf2.hpp:47
policy_type::digest_type digest_type
Definition: pbkdf2.hpp:48
size_t derive(digest_type &digest, const std::string &passphrase, const salt_type &salt, size_t iterations, std::chrono::milliseconds msec)
Definition: pbkdf2.hpp:53
constexpr static const std::size_t salt_bits
Definition: pbkdf2.hpp:50
const uint8_t * cast_char_ptr_to_uint8(const char *s)
Definition: memory_operations.hpp:205
void xor_buf(uint8_t out[], const uint8_t in[], size_t length)
Definition: memory_operations.hpp:245
Definition: pair.hpp:31
Definition: block/include/nil/crypto3/detail/digest.hpp:72
Definition: pbkdf2_functions.hpp:35
constexpr static const std::size_t salt_bits
Definition: pbkdf2_functions.hpp:43
constexpr static const std::size_t digest_bits
Definition: pbkdf2_functions.hpp:40
policy_type::mac_type mac_type
Definition: pbkdf2_functions.hpp:38
policy_type::digest_type digest_type
Definition: pbkdf2_functions.hpp:41
policy_type::salt_type salt_type
Definition: pbkdf2_functions.hpp:44
static std::size_t round_up(std::size_t n, std::size_t align_to)
Definition: pbkdf2_functions.hpp:52