genpark-poseidon-algebraic-hash-zk-friendly-skill
mcp
Uyari
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Gecti
- Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Poseidon algebraic hash function for STARK/SNARK circuits with S-box power permutations and MDS matrices
README.md
Poseidon Algebraic Hash Skill
High-efficiency, zero-dependency Python implementation of the Poseidon Algebraic Hash Function optimized for ZK-SNARK and STARK circuits.
Features
- Low Algebraic Degree: Employs (x^5) power S-box permutations minimizing R1CS gate constraints.
- Maximum Distance Separable (MDS): Linear diffusion layers guaranteeing branch number security against differential cryptanalysis.
- Zero External Dependencies: Pure Python standard library.
- Native MCP Protocol: JSON-RPC 2.0 stdio server compatible with Claude Desktop, Cursor, and Windsurf.
Architecture
graph TD
State["Initial State [s0, s1, s2]"] --> SBox["Non-Linear Layer: S-Box x^5"]
SBox --> MDS["Linear Layer: MDS Matrix Multiplication"]
MDS --> Round["Round Counter (3 Full Rounds)"]
Round --> Digest["Squeezed Hash Digest"]
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi