363. Class

363.1. Zend\Crypt\Key\Derivation\SaltedS2k

Salted S2K key generation (OpenPGP document, RFC 2440)

363.1.1. Methods

363.1.1.1. calc

calc()

Generate the new key

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

string

Project Versions

Table Of Contents

Previous topic

362. Class

Next topic

364. Class

This Page