Skip to content

guruvamsi-policharla/zkdilithium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkdilithium ♦️: Post-Quantum Anonymous Credentials ePrint:2023/414

Rust implementation of the zkDilithium based anonymous credential scheme introduced in ePrint:2023/414/

WARNING: This is an academic proof-of-concept prototype, and in particular has not received careful code review. This implementation is NOT ready for production use.

Dependencies

This project uses the winterfell crate as the backend for the STARK prover. We have a fork of this crate which contains the zkDilithium fields/extensions.

The zkDilithium python spec requires python 3.9 or below due to its dependence on the Galois package.

Overview

  • spec/zkdilithium.py: Python specification for the zkDilithium signature scheme. Can be run to generate a testcase that is plugged into the STARK prover.
  • src/utils: Contains an implementation of the Poseidon hash function over the zkDilithium field and corresponding constraints.
  • src/starkpf: Contains the STARK prover which proves knowledge of a zkDilithium signature on a publicly known message m.

Run with

cargo run --release

License

This library is released under the MIT License.

About

An implementation of a post quantum anonymous credential scheme

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published