Module microsalt::sign [] [src]

Structs

Keypair

A asymmetric keypair containing matching public and private keys.

PublicKey

PublicKey for signatures

SecretKey

SecretKey for signatures

Signature

Detached signature

SignedData

Encapsulates the verification key and signed message.

Constants

PUBLIC_KEY_BYTES

Number of bytes in the sign public key

SECRET_KEY_BYTES

Number of bytes in the sign private key

SIGNATURE_LENGTH

Number of bytes a signature is

SIGN_BYTES

Bytes of padding used in each signed message

Functions

signature
verify_signature