taiwanleaftea / cecahmac
Implementation of the new encryption algorithm for CECABANK payment gateway
1.0.3
2025-12-05 10:41 UTC
Requires
- php: >=7.3.0
- ext-openssl: *
README
Implementation of the new encryption algorithm for CECABANK payment gateway
Installation
Run the following commands from your terminal:
composer require taiwanleaftea/cecahmac
Usage
use TLT\Cecahmac\Hmac; // Create request to sign $signature = 'request, as described in the documentation'; // Create encryptor $encryptor = new Hmac(32bytes_encryption_key_from_bank_config); // Sign the request. The signature is in base64 and ready to POST $firma = $hmac->makeSignature($signature, operation_number);