[][src]Module thrussh_libsodium::ed25519

Structs

PublicKey

Ed25519 public key.

SecretKey

Ed25519 secret key.

Signature

Constants

PUBLICKEY_BYTES
SECRETKEY_BYTES
SIGNATURE_BYTES

Functions

keypair

Generate a key pair.

sign_detached

Sign a message with a secret key.

verify_detached

Verify a signature, sig could as well be a Signature.