Cookie Crypt Trait.
Provides the encrypt/decrypt logic for the CookieComponent.
_checkCipher( string $encrypt )
Helper method for validating encryption cipher names.
$encrypt RuntimeException_decode( string $value , string|false $encrypt )
Decodes and decrypts a single value.
$value $encrypt string_decrypt( array $values , string|boolean $mode )
Decrypts $value using public $type method in Security class
$values $mode string_encrypt( string $value , string|boolean $encrypt , string|null $key null )
Encrypts $value using public $type method in Security class
$value $encrypt $key optional null string_explode( string $string )
Explode method to return array from string set in CookieComponent::_implode() Maintains reading backwards compatibility with 1.x CookieComponent::_implode().
$string array_getCookieEncryptionKey( )
Returns the encryption key to be used.
string_implode( array $array )
Implode method to keep keys are multidimensional arrays
$array string
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/3.1/class-Cake.Utility.CookieCryptTrait.html