Skip to content

Binary for improving speed of Bulletproof and ringct on browser, base on tomoP's precompiled contract

Notifications You must be signed in to change notification settings

BuildOnViction/privacy-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

privacy-wasm

Binary for improving speed of Bulletproof on browser/nodejs, base on tomoP's precompiled contract

Please refer the white paper for further detail and explanation https://eprint.iacr.org/2017/1066.pdf

MultiRangeProof generator

let bulletProof = mrpProve(amount1_in_decimal, amount2_in_decimal, ... mask_for_amount_1_in_decimal, mask_for_amount_2_in_decimal, ...);

/* Result fields */
/*
  - IPP: (Inner Product Proof)
        - L: Point in hex
        - R: Point in hex
        - A: BigInteger in hex
        - B: BigInteger in hex
        - Challenges: Concat all challenge(bigInteger) in hex
  - Comms: Pederson Commitment for each value with equivalent mask
  - Random Parameters in BulletProof
        -  A: Point in hex
        -  S: Point in hex
        - cx: BigInteger in hex
        - cy: BigInteger in hex
        - cz: BigInteger in hex
        - T1: Point in hex
        - T2: Point in hex
        - Th: Point in hex
        - Tau: Point in hex
        - Mu: Point in hex
*/

About

Binary for improving speed of Bulletproof and ringct on browser, base on tomoP's precompiled contract

Resources

Stars

Watchers

Forks

Packages

No packages published