hashData()
hashData(string $data) : string
Calculates a hash value for the given data.
Parameters
string | $data | The input string. |
Throws
- \Exception
Validation errors.
Returns
string —The digest.