Crate commit_verify[][src]

Expand description

Library providing primitives for cryptographic commit-verify schemes used in client-side-validation

Library covers LNPBP-9 and LNPBP-81 standards.

Re-exports

pub use merkle::merklize;
pub use merkle::ConsensusMerkleCommit;
pub use merkle::MerkleSource;
pub use merkle::ToMerkleSource;

Modules

api

Base commit-verify scheme interface with extension allowing to create embedded commitments (commit-embed-verify).

commit_encode

Encoding and data preparation for commitment procedures in client-side-validation as defined by LNPBP-9 standard.

merkle

Merklization procedures for client-side-validation according to LNPBP-81 standard.

multi_commit

Multi-message commitments: implementation of LNPBP-4 standard.

tagged_hash

Bitcoin tagged hash helper types.

Macros

commit_encode_list

Convenience macro for commit-encoding list of the data

Structs

Slice32

Wrapper type for all slice-based 256-bit types implementing many important traits, so types based on it can simply derive their implementations.