Skip to content

Rexicon226/zk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General cryptography library, somewhat focused on ZK, but has everything

There is no particular focus of this project, just an accumulation of cool algorithms I have implemented over time.

NOTE: Is not audited nor has any proven security or correctness. Use at your own risk!

Some notable implementations:

  • AVX512 (52-bit limb) Edwards25519
  • EdDSA 225 (compatible with curve25519-dalek)
  • Fiat-Shamir transcripts (comptime verified to be used correctly)
  • Strobe implementation
  • Basic finite field implementation, to-be-optimized
  • Short Weierstrass
    • BLS12-381
    • BN-254 (has pairing checks implemented)
  • ChaCha (8,20), heavily SIMD optimized for AVX512
  • Pedersen Commitments
  • Many sigma-protocols based off of Pedersen commitments
  • Bulletproofs implementation
  • Falcon 512 signature verification
  • (Non-linkable) Ring signature demo, similar to Triptych construction

About

High speed Cryptography library for Zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages