Kagome
Polkadot Runtime Engine in C++17
|
#include <pbkdf2_provider.hpp>
Public Member Functions | |
virtual | ~Pbkdf2Provider ()=default |
virtual outcome::result< common::Buffer > | deriveKey (gsl::span< const uint8_t > data, gsl::span< const uint8_t > salt, size_t iterations, size_t key_length) const =0 |
derives key from password and salt More... | |
derivation functionality
Definition at line 20 of file pbkdf2_provider.hpp.
|
virtualdefault |
|
pure virtual |
derives key from password and salt
data | entropy or password |
salt | salt |
iterations | number of iterations |
key_length | length of generated key |
Implemented in kagome::crypto::Pbkdf2ProviderImpl.