Skip to content

AffixIO/noir-consent-verification-circuit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zero-Knowledge Consent Verification Circuit for Noir

Privacy-preserving consent verification using zero-knowledge proofs

Overview

This Noir circuit verifies user consent with zero-knowledge proofs, ensuring GDPR and CCPA compliance while maintaining user privacy. Perfect for consent management systems, privacy-preserving applications, and regulatory compliance.

🔍 Search Terms & Keywords

  • zero-knowledge consent verification
  • ZKP consent management
  • privacy-preserving consent proof
  • GDPR consent verification
  • zero-knowledge consent circuit
  • noir consent verification
  • zkp consent noir
  • CCPA consent proof
  • cryptographic consent verification
  • noir zero-knowledge consent

Features

  • ✅ Zero-knowledge proof for consent verification
  • ✅ Consent expiry checking
  • ✅ Purpose hash verification
  • ✅ Privacy-preserving consent management
  • ✅ GDPR/CCPA compliant
  • ✅ Patent-protected implementation (Claim 9)
  • ✅ Stateless verification

Use Cases

  • GDPR Compliance: Verify user consent without exposing consent data
  • CCPA Compliance: Privacy-preserving consent verification
  • Healthcare: HIPAA-compliant consent management
  • Marketing: Privacy-preserving consent for data processing
  • Enterprise: Consent verification in access control systems
  • FinTech: Regulatory consent verification

Circuit Description

The circuit verifies:

  • Consent hash exists and is valid
  • Consent is active (not expired)
  • Purpose hash matches intended use case

All verification happens without exposing the actual consent data.

Installation

# Install Noir (if not already installed)
curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash
noirup

# Clone and build
nargo build

Usage

# Compile the circuit
nargo compile

# Generate proof
nargo prove

# Verify proof
nargo verify

Technical Details

  • Language: Noir
  • Proof System: Barretenberg (default)
  • Inputs: Private fields (consent_hash, consent_expired, purpose_hash)
  • Output: Public field (verification result: 1 = valid, 0 = invalid)

Related Projects

License

[Your License Here]

Tags

noir zero-knowledge-proof zkp consent gdpr ccpa privacy compliance consent-management cryptography blockchain barretenberg noir-lang privacy-preserving regulatory-compliance

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages