320. Class

320.1. Zend\Crypt\Hash

320.1.1. Methods

320.1.1.1. compute

compute()

@param string $hash

Parameters:
  • string
  • bool
Throws ExceptionInvalidArgumentException:
 
Return type:

string

320.1.1.2. getOutputSize

getOutputSize()

Get the output size according to the hash algorithm and the output format

Parameters:
  • string
  • bool
Return type:

integer

320.1.1.3. getSupportedAlgorithms

getSupportedAlgorithms()

Get the supported algorithm

Return type:array

320.1.1.4. isSupported

isSupported()

Is the hash algorithm supported?

Parameters:string
Return type:bool

320.1.1.5. clearLastAlgorithmCache

clearLastAlgorithmCache()

Clear the cache of last algorithm supported

320.1.2. Constants

320.1.2.1. OUTPUT_STRING

320.1.2.2. OUTPUT_BINARY