Rust Merkle Tree Library with Configurable Storage and Hash Functions
By
bibiver
Pure flour-power. Hearty enough to carry you through lunch.
Summary
A Rust implementation of Merkle trees with configurable storage backends and hash functions. The library supports fixed depth and incremental operations, optimized for fast proof generation. It allows customization of storage (memory, file, database), hash functions (Keccak256, SHA256), and tree depth, with feature flags to avoid importing unnecessary dependencies.
Key quotes
· 4 pulledMerkle tree implementation in Rust with configurable storage backends and hash functions.
Fixed depth and incremental only. Optimized for fast proof generation.
You can customize your tree by choosing a different store, hash function, and depth as follows.
This avoids importing the stuff you don't need.
You might also wanna read
OpenSSL 4.0.0 Released with Significant New Features and Compatibility Changes
OpenSSL 4.0.0 is a major feature release that introduces significant new functionality along with potentially incompatible changes. Key upda
Libsodium at 13: Reflecting on the Cryptography Library's Design Philosophy and API Stability
The article discusses libsodium, a 13-year-old cryptography library, focusing on its design philosophy of making cryptography simple and acc
2025 Go Cryptography Ecosystem Review: Annual Updates and Developments
The article presents a comprehensive overview of developments at the intersection of Go programming language and cryptography over the past
Claude Code Debugs Low-Level Bug in Post-Quantum Cryptography Implementation
The author describes their experience implementing ML-DSA, a post-quantum signature algorithm, in Go over four days. Despite completing the
UUIDv47 Library: Combining UUIDv7 Sortable Performance with UUIDv4 Privacy
UUIDv47 is a C library that transforms UUIDv7 (time-sortable UUIDs) into UUIDv4-like identifiers for API boundaries while maintaining the so
Introducing Mutation Testing for Go Cryptographic Assembly
The article discusses the challenges of testing assembly cores in the Go cryptography standard library due to their constant-time nature. It
