unitrie

module
v0.0.0-...-bfb0b02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2024 License: MIT

README

unitrie

Universal package for trie implementations (committed radix trees) with the configurable cryptographic commitment models. Commitment models can be any hash function (sha.., blake2, zk-friendly) or polynomial (KZG) commitments.

Used to implement sparse Merkle trees, Patricia tree (hexary) and verkle trees (with KZG commitments).

Directories

Path Synopsis
adaptors
models
trie_blake2b
Package trie_blake2b_20 implements trie.CommitmentModel based on blake2b 32-byte hashing
Package trie_blake2b_20 implements trie.CommitmentModel based on blake2b 32-byte hashing
trie_blake2b/trie_blake2b_verify
Package trie_blake2b_verify contains functions for verification of the proofs of inclusion or absence in the trie with trie_blake2b commitment model.
Package trie_blake2b_verify contains functions for verification of the proofs of inclusion or absence in the trie with trie_blake2b commitment model.
trie_kzg_bn256/kzg_setup
the program kzg_setup generates new trusted setup for the KZG calculations from the secret entered from the keyboard and saves generated setup into the file Usage: kzg_setup <file name>
the program kzg_setup generates new trusted setup for the KZG calculations from the secret entered from the keyboard and saves generated setup into the file Usage: kzg_setup <file name>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL