NAME Crypt::Ed25519 - bare-bones Ed25519 public key signing/verification system SYNOPSIS use Crypt::Ed25519; # no symbols exported # generate a public/private key pair once ($pubkey, $privkey) = Crypt::Ed25519::generate_keypair; # sign messages $signature = Crypt::Ed25519::sign $message, $pubkey, $privkey; # verify message $valid = Crypt::Ed25519::verify $message, $pubkey, $signature; # verify, but croak on failure Crypt::Ed25519::verify_croak $message, $pubkey, $signature; DESCRIPTION This module implements Ed25519 public key generation, message signing and verification. It is a pretty bare-bones implementation that implements the standard Ed25519 variant with SHA512 hash. The security target for Ed25519 is to be equivalent to 3000 bit RSA or AES-128. The advantages of Ed25519 over most other signaturer algorithms are: small public/private key and signature sizes (<= 64 octets), good key generation, signing and verification performance, no reliance on random number generators for signing and by-design immunity against branch or memory access pattern side-channel attacks. More detailed praise and other info can be found at . IMPLEMENTATIOIN This module currently uses "Nightcracker's Ed25519" implementation, but the interface is kept implementation-agnostic to allow usage of other implementations in the future. AUTHOR Marc Lehmann http://sfotware.schmorp.de/pkg/Crypt-Ed25519.html