joomla/crypt
Joomla Crypt Package
Installs: 38 906
Dependents: 3
Suggesters: 2
Stars: 2
Watchers: 10
Forks: 5
Open Issues: 0
Type:joomla-package
Requires
- php: ^5.3.10|~7.0
- paragonie/random_compat: ~1.0|~2.0
Requires (Dev)
- ircmaxell/password-compat: ~1.0
- joomla/coding-standards: ~2.0@alpha
- paragonie/sodium_compat: ~1.0
- phpunit/phpunit: ^4.8.35|^5.4.3|~6.0
- symfony/polyfill-php56: ~1.0
- symfony/phpunit-bridge: ~2.8|~3.3
Suggests
- ircmaxell/password-compat: Required to use Joomla\Crypt\Password\Simple on PHP 5.4 or earlier
- paragonie/sodium_compat: To use Sodium cipher
- symfony/polyfill-php56: Required to use Joomla\Crypt\Password\Simple on PHP 5.5 or earlier
README
The Crypt package provides a set of classes that can be used for encryption and decryption of data.
Interfaces
CipherInterface
CipherInterface
is an interface representing an encryption and decryption API.
Classes
Cipher\CipherCrypto
Changes From 1.x
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 |
Installation via Composer
You can simply run the following from the command line:
composer require joomla/crypt "2.0.*@dev"