igirid / parrallex
Encryption and decryption algorithms for parrallex
Installs: 62
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/igirid/parrallex
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.