JCryptCipherMcrypt::pbkdf2
PBKDF2 Implementation for deriving keys.
Signature
public function pbkdf2(string
$p,
[string
$s = 10000,
[integer
$kl = 10000,
[integer
$c = 10000,
[string
$a = 'sha256']]]] )
Parameters
-
$p
- Password
-
$s
- Salt
-
$kl
- Key length
-
$c
- Iteration count
-
$a
- Hash algorithm
Returns
- string
- The derived key.