Skip to content

rawfalafel/layered-poly-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

layered-poly-commit

This repository contains a prototype for Multi-layer hashmaps using polynomial commitments. The prototype largely relies on https://github.com/scipr-lab/poly-commit and https://github.com/scipr-lab/zexe for lower level operations such as generating and opening polynomial commitments.

Build note: This library only supports the nightly Rust compiler.

Features

This hashmap can:

  • Setup a series of parameters corresponding to each layer in the "multi-layer hashmap" scheme.
  • Insert key/value pairs, where both the key and value are byte strings of arbitrary length.
  • Create a commitment for each non-empty polynomial.
  • Generate a proof for a single key/value pair.
  • Verify the proof for a single key/value pair.

This does not support:

Example

Test the hashmap by running the provided example: cargo run --example fill-layers --release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages