laravel/legacy-encrypter
The legacy version of the Laravel mcrypt encrypter.
v1.0.0
2016-08-03 21:22 UTC
Requires
- php: >=5.5.9
- ext-mbstring: *
- ext-openssl: *
- illuminate/contracts: 5.3.*
- illuminate/support: 5.3.*
- paragonie/random_compat: ~1.4|~2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 4047fc1e6a9346501ba48ba3f79509534875dea3
- Taylor Otwell <taylor.woop@laravel.com>
This package is auto-updated.
Last update: 2026-06-24 08:13:34 UTC
README
This encryption package provides support for the legacy Mcrypt encrypter used by Laravel 5.0 through 5.2. It is primarily intended to be used to migrate your data to the new OpenSSL based encrypter used in 5.1 through the latest release of Laravel.
Usage Example
use Laravel\LegacyEncrypter\McryptEncrypter; $encrypter = new McryptEncrypter($encryptionKey); $encrypted = $encrypter->encrypt('I am encrypted!'); $decrypted = $encrypter->decrypt($encrypted);
