Skip to content

theo0x0/range_proof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Range Proof

Used in anonymous payments like Monero

Used libraries: EcPy

Curve: bn254, base points generated by generators.py

Usage

Run python3 range_verify.py

Provable value is defined in range_create.py.

range_create.py generates a values to verify

range_verify.py verifies the results, generated by create()

Specs

Proof of n bit value.

Size: 3 scalars, 2*log(n) + 2 EC points, 1 hidden value

Verify operations: 2log(n) + 6 ec_mul, 2log(n) + 5 ec_add

About

Range proof for a hidden value

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages