6 #ifndef KAGOME_BIP39_PROVIDER_IMPL_HPP 7 #define KAGOME_BIP39_PROVIDER_IMPL_HPP 23 const std::vector<std::string> &word_list)
const override;
25 outcome::result<bip39::Bip39Seed>
makeSeed(
26 gsl::span<const uint8_t> entropy,
27 std::string_view password)
const override;
30 std::string_view mnemonic_phrase)
const override;
39 #endif // KAGOME_BIP39_PROVIDER_IMPL_HPP
Bip39ProviderImpl(std::shared_ptr< Pbkdf2Provider > pbkdf2_provider)
bip39::Dictionary dictionary_
outcome::result< bip39::Bip39Seed > makeSeed(gsl::span< const uint8_t > entropy, std::string_view password) const override
makes seed from entropy
~Bip39ProviderImpl() override=default
outcome::result< bip39::Bip39Seed > generateSeed(std::string_view mnemonic_phrase) const override
std::shared_ptr< soralog::Logger > Logger
std::shared_ptr< Pbkdf2Provider > pbkdf2_provider_
outcome::result< std::vector< uint8_t > > calculateEntropy(const std::vector< std::string > &word_list) const override
calculates entropy from mnemonic