V1.Secp256k1Sourceinclude module type of struct include Tezos_crypto.Signature.Secp256k1 endinclude Tezos_stdlib.Compare.S with type t := tsign ?watermark sk message produce the signature of message (with possibly watermark) using sk.
check pk ?watermark signature message check that signature is the signature produced by signing message (with possibly watermark) with the secret key of pk.
val generate_key :
?seed:Bytes.t ->
unit ->
Tezos_crypto.Signature.Secp256k1.Public_key_hash.t
* Public_key.t
* Secret_key.tdeterministic_nonce sk msg returns a nonce that is determined by sk and msg
deterministic_nonce_hash sk msg returns the BLAKE2b hash of a nonce that is determined by sk and msg.
In other words, Blake2b.digest (deterministic_nonce sk msg) = deterministic_nonce_hash sk msg