Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type storage = bigbytes
of_public_key k
converts k
to storage
. The result is public_key_size
bytes long.
of_secret_key k
converts k
to storage
. The result is secret_key_size
bytes long.
of_signature a
converts a
to storage
. The result is signature_size
bytes long.
sign sk m
signs a message m
using the signer's secret key sk
, and returns the resulting signed message.
sign_open pk sm
verifies the signature in sm
using the signer's public key pk
, and returns the message.
sign_detached sk m
signs a message m
using the signer's secret key sk
, and returns the signature.