Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.38 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.38 KB

circom-rsa

This package is a work in progress; docs will be updated soon.

Examples:

component main { public [ a, b, p ] } = FpMul(10, 2); // toy example -- each bignum is 2 10-bit words

/* INPUT = {
    "a": ["5", "0"],
    "b": ["5", "0"],
    "p": ["17", "0"]
} */

technical notes

todos (before publish)

  • fix the array lengths in ab_proper / getProperRepresentation? length mismatch + hardcoded
  • example for testing rsa.circom
  • example code for installing & import of circom-rsa circuits (note peer dependency)
  • double check code copying (copying bigint & bigint_func from 0xPARC/circom-ecdsa)
  • double check GPL license (depending on circom ==> gpl-3.0?)

Credits

Contributors: @ecnerwala, @stevenhao Thanks: @iden3, @0xPARC