The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Crypt::Perl::Ed25519::Parse

SYNOPSIS

# 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);

DESCRIPTION

See Crypt::Perl::Ed25519::PrivateKey and Crypt::Perl::Ed25519::PublicKey for descriptions of the interfaces that this module returns.