Crypt::Perl::Ed25519::PublicKey
# This expects an octet string. my $import_key = Crypt::Perl::Ed25519::PublicKey->new( $pub_str ); $key->verify( $message, $signature ) or die "Invalid sig for msg!"; #---------------------------------------------------------------------- # Returns an octet string. my $pub_str = $key->get_public(); # Returns an object my $pub_obj = $key->get_public_key();
This class implements Ed25519 verification.
To install Crypt::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Perl
CPAN shell
perl -MCPAN -e shell install Crypt::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.