fazpass / phpseamless
Fazpass library to support seamless technology
dev-main
2023-12-31 14:21 UTC
This package is auto-updated.
Last update: 2024-09-30 01:52:28 UTC
README
This is php seamless library to help you decrypt meta response from server
Installation
Add this into your composer.json
{ "require": { "fazpass/phpseamless":"version" } }
next, you need to run
composer install
Use autoloader Composer into your php script
require_once 'vendor/autoload.php';
Usage
This is the example how to use this library
<?php include 'fazpass.php'; try { $privateKeyPath = __DIR__ . '/../src/key/sample.key'; $fazpass = new Fazpass($privateKeyPath); $encryptedData = 'META'; // meta response from our server $result = $fazpass->extract($encryptedData); echo "Hasil Ekstraksi:\n"; print_r($result->challenge); } catch (Exception $e) { echo "Error: " . $e->getMessage(); } ?>
Other
For object inside meta and general documentation, please refer this Link