[NCR#1 Proposal] Regex.nr: A Noir Library for Compiling Regular Expression Circuits for Text Verification #5815
Replies: 2 comments
-
You should be able to rip steps 2 and most of 3 fully out of the zk-regex compiler we put up -- it automatically strips all the looping functions like lookarounds and generates the min-dfa from the regex expression! Then, instead of converting the gates into arithmetic gates like circom, you can just make lookups like the halo2 design instead. |
Beta Was this translation helpful? Give feedback.
-
Selected proposals for NCR#1 are announced: https://github.com/orgs/noir-lang/discussions/5932 Thank you for your support on the initiative. NCR is just one of the many ways to start your explorations with Noir, check the announcement for more potential ways to collaborate. Let's bring the world ZK! |
Beta Was this translation helpful? Give feedback.
-
Summary
Regex.nr is a Noir library designed to compile zero-knowledge regular expression (zk-regex) circuits. This library facilitates the verification of string data within a zero-knowledge circuit, enabling privacy-preserving applications. Regex.nr is particularly valuable for applications such as secure email proofing, where it can privately and efficiently verify email body components. Additionally, it is applicable to other domains requiring text verification, such as secure messaging or confidential document validation.
Methodology
Research Approach:
Design Strategy:
Our design will follow the general approach of the original zkemail regex library which has the following funcionalities:
The exact architecture of the project will be determined by the end of the research phase.
Timeline and Deliverables
Milestone 1: Research Phase
Milestone 2: Implement Core Functionalities
Milestone 3: Advanced Functionalities
Milestone 4: Final Compilation and Documentation
Team
Matteo (Core Engineer)
Mohammed (Core Engineer)
Shigoto (Reviewer)
Supported by:
Start Date
Preferred start date: 09 September 2024
Beta Was this translation helpful? Give feedback.
All reactions