Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hash check failed. Key file seems to be corrupted. (0) #19

Open
khoavm opened this issue Sep 30, 2020 · 0 comments
Open

Hash check failed. Key file seems to be corrupted. (0) #19

khoavm opened this issue Sep 30, 2020 · 0 comments

Comments

@khoavm
Copy link

khoavm commented Sep 30, 2020

Help me this is my code. key file same folder with index.php
""""""""""""

require 'vendor/autoload.php';
use baibaratsky\WebMoney\Signer;

Flight::route('/', function(){
$test = file_get_contents('test.kwm');
$signer = new Signer('wmid', $test, '12345678');
$data = 'Data to be signed';
$signature = $signer->sign($data);
echo "hello world! $signature";
});

Flight::start();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant