base\Security decryptByKey()

decryptByKey() public method

Verifies and decrypts data encrypted with encryptByKey().

See also encryptByKey().

public boolean|string decryptByKey ( $data, $inputKey, $info = null )
$data string

The encrypted data to decrypt

$inputKey string

The input to use for encryption and authentication

$info string

Optional context and application specific information, see hkdf()

return boolean|string

The decrypted data or false on authentication failure

doc_Yii
2016-10-30 16:52:19
Comments
Leave a Comment

Please login to continue.