Module nacl::sign [−][src]
Structs
Constants
Signing algorithm name for JWK’s (JSON Web Key)
Public key length for signing
Secret key length for signing
Seed length, from which keypair is created
Functions
Extracts public key from a given secret key
Analog of crypto_sign_keypair in crypto_sign/ed25519/ref/keypair.c
Analog of crypto_sign_open in crypto_sign/ed25519/ref/open.c
Analog of crypto_sign in crypto_sign/ed25519/ref/sign.c
Signs message m
with key sk
, returning only signature bytes.
Verifies that signature sig
was created on message m
with key with
given public part pk
.