ugarit / legacy-encrypter
The legacy version of the Ugarit mcrypt encrypter.
1.00.00
2026-09-15 14:52 UTC
Requires
- php: >=5.5.9
- ext-mbstring: *
- ext-openssl: *
- heritage/contracts: ^1.00.00
- heritage/support: ^1.00.00
- paragonie/random_compat: ~1.4|~2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-15 20:20:56 UTC
README
This encryption package provides support for the legacy Mcrypt encrypter used by Ugarit 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 Ugarit.
Usage Example
use Ugarit\LegacyEncrypter\McryptEncrypter; $encrypter = new McryptEncrypter($encryptionKey); $encrypted = $encrypter->encrypt('I am encrypted!'); $decrypted = $encrypter->decrypt($encrypted);