Search by

ugarit / legacy-encrypter

muathrabuouda

The legacy version of the Ugarit mcrypt encrypter.

Package info

github.com/ugaritco/legacy-encrypter

Homepage

Issues

pkg:composer/ugarit/legacy-encrypter

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

1.00.00 2026-09-15 14:52 UTC

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);