|
10Duke Enterprise C++ SDK
|
Public Member Functions | |
| std::unique_ptr<::tenduke::crypto::aes::AESSecretKey > | deriveAES256Key (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::AESSecretKey > | deriveAESKey (const ::tenduke::utl::DataSpan &password, const ::tenduke::utl::DataSpan &salt, std::size_t iterationCount, std::size_t numBits) const |
| Derives an AES secret key from a password and salt. | |
|
overridevirtual |
Generates an AES256 using PBKDF2 to derive the key from password and salt.
| password | password |
| salt | salt |
| iterationCount | iteration count |
Implements tenduke::crypto::PBKDF2.
| std::unique_ptr<::AESSecretKey > tenduke::crypto::libcrypto::LibcryptoPBKDF2::deriveAESKey | ( | const ::tenduke::utl::DataSpan & | password, |
| const ::tenduke::utl::DataSpan & | salt, | ||
| std::size_t | iterationCount, | ||
| std::size_t | numBits ) const |
Derives an AES secret key from a password and salt.
| password | password |
| salt | salt |
| iterationCount | iteration count |
| numBits | number of bits in the derived key |