Crypt-ECDSA-Blind
view release on metacpan or search on metacpan
lib/Crypt/ECDSA/Blind.pm view on Meta::CPAN
my ($pubkey, $seckey) = $ecdsab->keygen;
my $msg = 'Hello, world!';
my $init = $ecdsab->init;
my $req = $ecdsab->request( Key => $pubkey, Init => $init,
Message => $msg );
my $blindsig = $ecdsab->sign( Key => $seckey, Init => $init,
Plaintext => $req );
my $sig = $ecdsab->unblind( Key => $pubkey, Init => $init,
Signature => $blindsig );
print "Verified\n" if $ecdsab->verify( Key => $pubkey, Message => $msg,
Signature => $sig );
=head1 METHODS
=head2 new
Creates and returns a new Crypt::ECDSA::Blind object. The following
optional named parameters can be provided:
( run in 1.148 second using v1.01-cache-2.11-cpan-71847e10f99 )