blob: 3aca6057dbb92e9cfbe143069a45a2180bcd59ce [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//! `fuchsia_merkle` contains types and methods for building and working with merkle trees.
/// The size of a single block of data (or hashes), in bytes.
pub const BLOCK_SIZE: usize = 8192;
mod util;
mod hash;
mod tree;
pub use crate::tree::MerkleTree;
mod builder;
pub use crate::builder::MerkleTreeBuilder;
mod writer;
pub use crate::writer::MerkleTreeWriter;