Crypt::Perl::Ed25519::Parse
# These accept either DER or PEM. my $prkey = Crypt::Perl::Ed25519::Parse::private($buffer); my $pbkey = Crypt::Perl::Ed25519::Parse::public($buffer); # This accepts a structure, not raw JSON. my $key = Crypt::Perl::Ed25519::Parse::jwk($jwk_hr);
See Crypt::Perl::Ed25519::PrivateKey and Crypt::Perl::Ed25519::PublicKey for descriptions of the interfaces that this module returns.
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.