10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
tenduke::crypto::win::cng::WinCNGPBKDF2 Class Reference
Inheritance diagram for tenduke::crypto::win::cng::WinCNGPBKDF2:
tenduke::crypto::PBKDF2

Public Member Functions

std::unique_ptr<::tenduke::crypto::aes::AESSecretKeyderiveAES256Key (const ::tenduke::utl::DataSpan &password, const ::tenduke::utl::DataSpan &salt, std::size_t iterationCount) const override
 Generates an AES256 using PBKDF2 to derive the key from password and salt.
std::unique_ptr<::tenduke::crypto::aes::AESSecretKeyderiveAES256Key (const ::tenduke::utl::DataSpan &password, const ::tenduke::utl::DataSpan &salt, std::size_t iterationCount, std::size_t numBits) const

Member Function Documentation

◆ deriveAES256Key()

std::unique_ptr<::AESSecretKey > tenduke::crypto::win::cng::WinCNGPBKDF2::deriveAES256Key ( const ::tenduke::utl::DataSpan & password,
const ::tenduke::utl::DataSpan & salt,
std::size_t iterationCount ) const
overridevirtual

Generates an AES256 using PBKDF2 to derive the key from password and salt.

Parameters
passwordpassword
saltsalt
iterationCountiteration count
Returns
AES256 key

Implements tenduke::crypto::PBKDF2.


The documentation for this class was generated from the following files:
  • core/services/windows/src/crypto/kdf/WinCNGPBKDF2.h
  • core/services/windows/src/crypto/kdf/WinCNGPBKDF2.cpp