Fully Qualified Name: | Zend\Crypt\Hash |
Name | Description | Defined By |
---|---|---|
clearLastAlgorithmCache() | Clear the cache of last algorithm supported | Hash |
compute() | Hash | |
getOutputSize() | Get the output size according to the hash algorithm and the output format | Hash |
getSupportedAlgorithms() | Get the supported algorithm | Hash |
isSupported() | Is the hash algorithm supported? | Hash |
Clear the cache of last algorithm supported
Returns:
Parameter Name | Type | Description |
---|---|---|
$hash | string | |
$data | string | |
$output | bool |
Returns: string
Get the output size according to the hash algorithm and the output format
Parameter Name | Type | Description |
---|---|---|
$hash | string | |
$output | bool |
Returns: int
Get the supported algorithm
Returns: array
Is the hash algorithm supported?
Parameter Name | Type | Description |
---|---|---|
$algorithm | string |
Returns: bool