Signature.Secp256k1SourceTezos - Secp256k1 cryptography
include 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.
deterministic_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
Signs the Keccak256 hash of bytes, instead of BLAKE2b.
Check the Keccak256 hash of bytes, instead of BLAKE2b.