src/includes/classes/Core/Utils/Password.php
public function sha256(string $string, string $key = ''): string
    {
        if (!$key && !($key = $this->App->Config->©passwords['©hash_key'])) {
            throw $this->c::issue('Missing password hash key.');
        }
        return $this->c::sha256KeyedHash($string, $key);
    }
public function sha256(string $string, string $key = ''): string
    {
        if (!$key && !($key = $this->App->Config->©passwords['©hash_key'])) {
            throw $this->c::issue('Missing password hash key.');
        }
        return $this->c::sha256KeyedHash($string, $key);
    }
Generates a password hash.

@since 150424 Initial release.

@param string $string String to sign.
@param string $key    Encryption key.

@return string Hash (a keyed SHA-256 signature; 64 chars).