Kagome
Polkadot Runtime Engine in C++17
|
#include <pbkdf2_provider_impl.hpp>
Public Member Functions | |
~Pbkdf2ProviderImpl () override=default | |
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 override |
derives key from password and salt More... | |
Public Member Functions inherited from kagome::crypto::Pbkdf2Provider | |
virtual | ~Pbkdf2Provider ()=default |
Definition at line 13 of file pbkdf2_provider_impl.hpp.
|
overridedefault |
|
overridevirtual |
derives key from password and salt
data | entropy or password |
salt | salt |
iterations | number of iterations |
key_length | length of generated key |
Implements kagome::crypto::Pbkdf2Provider.
Definition at line 12 of file pbkdf2_provider_impl.cpp.