362. Class

362.1. Zend\Crypt\Key\Derivation\Pbkdf2

PKCS #5 v2.0 standard RFC 2898

362.1.1. Methods

362.1.1.1. calc

calc()

Generate the new key

Parameters:
  • string – The hash algorithm to be used by HMAC
  • string – The source password/key
  • string
  • integer – The number of iterations
  • integer – The output size
Throws ExceptionInvalidArgumentException:
 
Return type:

string

Project Versions

Table Of Contents

Previous topic

361. Class

Next topic

363. Class

This Page