The Crypt package provides a set of classes that can be used for encryption and decryption of data.
CipherInterface
is an interface representing an encryption and decryption API.
The package has been refactored from 1.x to 2.0 to be PSR-4 compliant, and in doing so required renaming of several classes. Below is a table of renamed classes.
Old Name | New Name |
---|---|
\Joomla\Crypt\Cipher_Crypto |
\Joomla\Crypt\Cipher\CipherCrypto |
You can simply run the following from the command line:
composer require joomla/crypt "2.0.*@dev"