igirid / parrallex
Encryption and decryption algorithms for parrallex
v1.0.0
2022-06-02 16:46 UTC
Requires
- phpseclib/phpseclib: ^3.0
Requires (Dev)
- phpunit/phpunit: 9.5
README
Encryption and decryption algorithms for parrallex https://parallexbank.com
<?php use Igirid\Parrallex; $cipher = new Parrallex($iv, $key); // Encrypt Payload $data = [ "username" => 'your username', "password" => "your password", ]; $payload = json_encode($cipher->encryptPayload($data)); // Decrypt Response $decryptedResponse = $cipher->decryptPayload($encryptedHexResponseFromParrallexServer);
Installation
With Composer
$ composer require igirid/parrallex
{ "require": { "igirid/parrallex": "^1.0.0" } }
<?php require 'vendor/autoload.php'; use Igirid\Parrallex; $cipher = new Parrallex($iv, $key); // Decrypt Response $decryptedResponse = $cipher->decryptPayload($encryptedHexResponseFromParrallexServer);
Security contact information
To report a security vulnerability, please send an email igiridavid2@gmail.com. Igiri David will contribute the fix and disclosure.
Credits
Contributors
This project exists thanks to all the people who contribute.