mphpmaster / tdes
Php TDES Cipher using openssl.
1.0.0
2024-02-26 15:42 UTC
Requires
- php: >=8.1
This package is auto-updated.
Last update: 2024-10-26 17:13:50 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.