Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
pbkdf2_provider_impl.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CRYPTO_PBKDF2_PROVIDER_IMPL_HPP
7
#define KAGOME_CRYPTO_PBKDF2_PROVIDER_IMPL_HPP
8
9
#include "
crypto/pbkdf2/pbkdf2_provider.hpp
"
10
11
namespace
kagome::crypto
{
12
13
class
Pbkdf2ProviderImpl
:
public
Pbkdf2Provider
{
14
public
:
15
~Pbkdf2ProviderImpl
()
override
=
default
;
16
17
outcome::result<common::Buffer>
deriveKey
(gsl::span<const uint8_t> data,
18
gsl::span<const uint8_t> salt,
19
size_t
iterations,
20
size_t
key_length)
const override
;
21
};
22
23
}
// namespace kagome::crypto
24
25
#endif // KAGOME_CRYPTO_PBKDF2_PROVIDER_IMPL_HPP
kagome::crypto::Pbkdf2ProviderImpl
Definition:
pbkdf2_provider_impl.hpp:13
kagome::crypto::Pbkdf2Provider
Definition:
pbkdf2_provider.hpp:20
kagome::crypto::Pbkdf2ProviderImpl::~Pbkdf2ProviderImpl
~Pbkdf2ProviderImpl() override=default
pbkdf2_provider.hpp
kagome::crypto
Definition:
author_api_impl.hpp:31
kagome::crypto::Pbkdf2ProviderImpl::deriveKey
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
Definition:
pbkdf2_provider_impl.cpp:12
core
crypto
pbkdf2
impl
pbkdf2_provider_impl.hpp
Generated by
1.8.11