CT Merkle
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:
- Inclusion proofs. You can construct a succinct proof that a particular item appears in a given tree.
- 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
- Implementsserde::Serialize
andserde::Deserialize
for:CtMerkleTree
,RootHash
,InclusionProof
, andConsistencyProof
std
- Implementsstd::error::Error
for all the error types
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.
Warning
This code has not been audited in any sense of the word. Use it at your own peril.