Php TDES Cipher using openssl.

1.0.0 2024-02-26 15:42 UTC

This package is auto-updated.

Last update: 2024-12-26 17:33:15 UTC


README

Php TDES Cipher using openssl.

Dependencies:

  • php >=8.1 REQUIRED IN YOUR PROJECT

Installation

composer require mphpmaster/tdes

Usage:

Default cipher_algo is: des-ede3-cbc

$cipher = \MPhpMaster\TDES\TDESCipher::make('ABCDEFGHIJKLMNOPQRSTUVWX', '12345678', 'des-ede3-cbc'); // new instance
$cipher->encrypt('Test!'); // encrypt
$cipher->decrypt('RZ4wZaGE7qGNZ1'); // decrypt

License

This package is open-sourced software licensed under the MIT license.

Stand with Palestine 🇵🇸 #FreePalestine