rozbb / ct-merkle

An implementation of the append-only log described in the Certificate Transparency specification (RFC 6962)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CT Merkle

Crate Docs CI

This is an implementation of the append-only log described in the Certificate Transparency specification (RFC 6962). The log is a Merkle tree, and its leaves are the items it contains.

The log has two important features:

  1. Inclusion proofs. You can construct a succinct proof that a particular item appears in a given tree.
  2. Consistency proofs. You can construct a succinct proof that one tree is a prefix of another tree, i.e., that tree #2 is the result of appending some number of items to the end of tree #1.

Crate Features

Default feature flags: none

Feature flag list:

  • serde - Implements serde::Serialize and serde::Deserialize for: CtMerkleTree, RootHash, InclusionProof, and ConsistencyProof
  • std - Implements std::error::Error for all the error types

License

Licensed under either of

at your option.

Warning

This code has not been audited in any sense of the word. Use it at your own peril.

About

An implementation of the append-only log described in the Certificate Transparency specification (RFC 6962)

License:Other


Languages

Language:Rust 100.0%