package octez-libs
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13
doc/octez-libs.crypto/Tezos_crypto/Signature/V0/index.html
Module Signature.V0Source
V0 supports Ed25519, Secp256k1, and P256.
V0 supports Ed25519, Secp256k1, and P256.
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
append sk buf is the concatenation of buf and the serialization of the signature of buf signed by sk.
concat buf t is the concatenation of buf and the serialization of t.
The list of signing algorithm supported, i.e. all constructors of type algo{.
val generate_key :
?algo:algo ->
?seed:Bytes.t ->
unit ->
public_key_hash * public_key * secret_keymodule Of_V_latest :
Signature.CONV_OPT
with module V_from := Signature.V_latest
and module V_to := Tezos_crypto__.Signature_v0