Crypt::Perl::PK - Public-key cryptography logic
#Will be an instance of the appropriate Crypt::Perl key class, #i.e., one of: # # Crypt::Perl::RSA::PrivateKey # Crypt::Perl::RSA::PublicKey # Crypt::Perl::ECDSA::PrivateKey # Crypt::Perl::ECDSA::PublicKey # Crypt::Perl::Ed25519::PrivateKey # Crypt::Perl::Ed25519::PublicKey # my $key_obj = Crypt::Perl::PK::parse_jwk( { .. } ); #Likewise. Feed it public or private, DER or PEM format, #RSA or ECDSA. my $key_obj = Crypt::Perl::PK::parse_key( $octet_string );
As of now there’s not much of interest to find here except parsing of JWKs.
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.