Back to skills
SKILL.md
Zero Knowledge Proofs
ASecurityUse when implementing zero-knowledge proof systems.
- 2 stars
- 0 votes
- 0 copies
- 2 views
- Added September 10, 2026
Security analysis
100/100npx -y skills add LoopyLuci/Skills --skill zero-knowledge-proofs --agent claude-codeAre you the author of Zero Knowledge Proofs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-zero-knowledge-proofs)---
name: zero-knowledge-proofs
description: "Use when implementing zero-knowledge proof systems."
version: 1.0.0
author: Hermes Agent
license: MIT
metadata:
hermes:
tags: [zero-knowledge, ZKP, zkSNARKs, zkSTARKs, circom, cryptography]
related_skills: [blockchain-development-solidity, cryptography-implementation-patterns, defi-smart-contracts, tokenomics-design]
---
# Zero-Knowledge Proofs
Implementing zero-knowledge proof systems — from zkSNARKs and zkSTARKs through circuit design (Circom), proof generation/verification, and practical applications.
## When to Use
- Privacy-preserving transactions on blockchain
- Verifiable computation (prove computation is correct)
- Identity and credential verification without revealing data
- Scalability (zk-rollups for Ethereum)
- Confidential smart contracts
## ZKP Fundamentals
```python
ZKP_TYPES = {
'snark': 'Succinct Non-interactive Argument of Knowledge — small proofs, trusted setup (Groth16, PLONK)',
'stark': 'Scalable Transparent ARgument of Knowledge — no trusted setup, larger proofs, quantum-resistant',
'bulletproofs': 'No trusted setup, short proofs, used in Monero',
}
"""
// Circom circuit: prove knowledge of hash preimage without revealing it
pragma circom 2.0.0;
template HashPreimage() {
signal input preimage;
signal output hash;
component hasher = MiMC7(10);
hasher.x_in <== preimage;
hash <== hasher.out;
}
component main { public [hash] } = HashPreimage();
"""
```
## Verification Checklist
- [ ] ZKP system chosen (SNARK, STARK, Bulletproofs)
- [ ] Circuit defined in Circom or similar DSL
- [ ] Trusted setup ceremony completed (if SNARK)
- [ ] Proving key and verification key generated
- [ ] Proof generation time acceptable for use case
- [ ] Verification gas cost (if on-chain) measured
- [ ] Security: circuit soundness, no under-constrained signals
- [ ] Integration tested (prover in app, verifier in contract)
Attribution
Comments
Loading comments…