Crypt::PK::ECC::Schnorr - Public key cryptography based on EC with Schnorr signatures
use Crypt::PK::ECC::Schnorr; # Signature: Alice my $priv = Crypt::PK::ECC::Schnorr->new('Alice_priv_ecc1.der'); my $sig = $priv->sign_message($message); # # Signature: Bob (received $message + $sig) my $pub = Crypt::PK::ECC::Schnorr->new('Alice_pub_ecc1.der'); $pub->verify_message($sig, $message) or die "ERROR";
This module inherits Crypt::PK::ECC and provides methods to create and verify Schnorr signatures for elliptic curves. Compatible with Bitcoin "taproot" softfork (BIP-340).
To install Crypt::PK::ECC::Schnorr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::PK::ECC::Schnorr
CPAN shell
perl -MCPAN -e shell install Crypt::PK::ECC::Schnorr
For more information on module installation, please visit the detailed CPAN module installation guide.