My Project
 All Data Structures Files Functions Variables Pages
Functions
pbkdf2.php File Reference

Functions

 pbkdf2 ($password, $salt, $iterations, $keyLength, $algo= 'sha256')

Detailed Description

PBKDF2 Implementation (described in RFC 2898)

Parameters:
string$passwordPassword
string$saltSalt
int$iterationsiteration count (use 1000 or higher)
int$keyLengthderived key length
string$algo(optional) hash algorithm, defaults to 'sha256'
Returns:
Derived key