| circuit: | |
| name: "audit_proof" | |
| version: "0.1.0" | |
| description: "Zero-knowledge proof circuit for generating tamper-proof audit logs without exposing sensitive data. Requires AffixIO SDK with API key for production use." | |
| proof_system: "Noir" | |
| backend: "Barretenberg" | |
| inputs: | |
| - name: "decision_value" | |
| type: "Field" | |
| description: "The decision value being audited" | |
| required: true | |
| - name: "timestamp" | |
| type: "Field" | |
| description: "Timestamp of the audit event" | |
| required: true | |
| - name: "pseudonymised_id" | |
| type: "Field" | |
| description: "Pseudonymised identifier for privacy" | |
| required: true | |
| - name: "rules_hash" | |
| type: "Field" | |
| description: "Cryptographic hash of the rules applied" | |
| required: true | |
| outputs: | |
| - name: "integrity_verified" | |
| type: "Field" | |
| description: "Integrity verification result (1 = verified, 0 = failed)" | |
| use_cases: | |
| - "Compliance & Regulatory" | |
| - "GDPR/CCPA Compliance" | |
| - "Financial Audits" | |
| - "Healthcare Audit Trails" | |
| - "Government Compliance" | |
| - "Enterprise Access Control" | |
| - "Decision Logging" | |
| - "Risk Management" | |
| tags: | |
| - "zero-knowledge-proof" | |
| - "zkp" | |
| - "audit" | |
| - "compliance" | |
| - "privacy" | |
| - "noir" | |
| - "barretenberg" | |
| - "affixio" | |
| requirements: | |
| sdk: "@affixio/sdk" | |
| sdk_npm: "https://www.npmjs.com/package/@affixio/sdk" | |
| api_key_required: true | |
| api_key_url: "https://dashboard.affix-io.com" | |
| noir_version: ">=0.20.0" | |
| node_version: ">=18.0.0" | |
| links: | |
| documentation: "https://www.affix-io.com/docs" | |
| sdk: "https://www.npmjs.com/package/@affixio/sdk" | |
| api: "https://api.affix-io.com" | |
| dashboard: "https://dashboard.affix-io.com" | |
| github: "https://github.com/affixio" | |
| license: "MIT" | |
| author: "AffixIO" | |
| performance: | |
| proof_generation_online: "< 500ms" | |
| proof_generation_offline: "< 200ms" | |
| verification: "< 100ms" | |
| security: | |
| note: "Uses simplified integrity check. For production, implement proper cryptographic hash verification. API key required for production use." | |
| best_practices: | |
| - "Always verify proofs in trusted environment" | |
| - "Keep private inputs secure" | |
| - "Use AffixIO SDK for production deployments" | |
| - "Store proofs securely" | |
| - "Never commit API keys to version control" | |
| - "Use environment variables for API keys" | |