Crypt::Schnorr::AuthSign

Schnorr Authentication & Signature Protocols
Download

Crypt::Schnorr::AuthSign Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ashish Gulhati
  • Publisher web site:
  • http://search.cpan.org/~agul/

Crypt::Schnorr::AuthSign Tags


Crypt::Schnorr::AuthSign Description

Schnorr Authentication & Signature Protocols Crypt::Schnorr::AuthSign is a Perl module with Schnorr authentication & Signature protocols.SYNOPSIS use Crypt::Schnorr::AuthSign; $schnorr = new Crypt::Schnorr::AuthSign; $schnorr->qsize(512); # Use a 512 bit modulus. $schnorr->keygen(Name => 'Test User'); # Create a new keypair. $req = $schnorr->authreq(); # Create auth request. $c = $schnorr->challenge($req); # Generate auth challenge. $response = $schnorr->response($c); # Respond to a challenge. $auth = $schnorr->verify($response); # Verify auth response. $sign = $schnorr->sign($m); # Create a signature for $m. $valid = $schnorr->verify($sign, $m); # Verify signature on $m.This module implements the basic Schnorr authentication and signature protocols. It supports zlib compression, Radix64 encoding for exported keys and protocol packets, and a simple method for binding metadata to keys. It does not provide any key management functions or maintain a key database. Requirements: · Perl


Crypt::Schnorr::AuthSign Related Software