package octez-libs
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
doc/octez-libs.crypto/Tezos_crypto/Aggregate_signature/index.html
Module Tezos_crypto.Aggregate_signature
Source
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
.
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
agregate_check pk_msg_list signature
returns true
if the signature
is a valid aggregate signature of the signatures produced by signing message msg
(with optional watermark
) with the secret key of pk
for each element (pk, watermark, msg)
of the list pk_msg_list
.
agregate_signature_opt sig_list
creates an aggregated signature using the list of signatures sig_list
.