package tezos-protocol-environment
Interface layer between the protocols and the shell
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-environment.structs/Tezos_protocol_environment_structs/V2/Secp256k1/index.html
Module V2.Secp256k1
Source
include module type of struct include Tezos_crypto.Signature.Secp256k1 end
include Tezos_stdlib.Compare.S with type t := t
sign ?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
.
Source
val generate_key :
?seed:Bytes.t ->
unit ->
Tezos_crypto.Signature.Secp256k1.Public_key_hash.t
* Public_key.t
* Secret_key.t
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>