src/mako/security/crypto/encrypters/Encrypter.php
protected function deriveKey(string $key, string $salt, int $keySize): string
	{
		return hash_pbkdf2(static::DERIVATION_HASH, $key, $salt, static::DERIVATION_ITERATIONS, $keySize, true);
	}
protected function deriveKey(string $key, string $salt, int $keySize): string
	{
		return hash_pbkdf2(static::DERIVATION_HASH, $key, $salt, static::DERIVATION_ITERATIONS, $keySize, true);
	}
protected function deriveKey ( string $ key , string $ salt , int $ keySize ) : string { return hash_pbkdf2 ( static :: DERIVATION_HASH , $ key , $ salt , static :: DERIVATION_ITERATIONS , $ keySize , true ) ; }
Generate a PBKDF2 key derivation of a supplied key.

@param  string $key     The key to derive
@param  string $salt    The salt
@param  int    $keySize The desired key size
@return string
Generate a PBKDF2 key derivation of a supplied key .