protected generateSecureHash ( string $hashIdentifier, string $data ) : string | ||
$hashIdentifier | string | A unique string that identifies the hash in some way, can, for example, be user information or can contain an expiration date, or whatever. |
$data | string | Any data that needs to be hashed securely, ie, a password. |
return | string | The hash string. |