1 // Pbkdf2HmacSha1.h 2 // Password-Based Key Derivation Function (RFC 2898, PKCS #5) based on HMAC-SHA-1 3 4 #ifndef ZIP7_INC_CRYPTO_PBKDF2_HMAC_SHA1_H 5 #define ZIP7_INC_CRYPTO_PBKDF2_HMAC_SHA1_H 6 7 #include <stddef.h> 8 9 #include "../../Common/MyTypes.h" 10 11 namespace NCrypto { 12 namespace NSha1 { 13 14 void Pbkdf2Hmac(const Byte *pwd, size_t pwdSize, const Byte *salt, size_t saltSize, 15 UInt32 numIterations, Byte *key, size_t keySize); 16 17 }} 18 19 #endif 20