2023-10-20 16:40:22 +09:00
2023-06-22 09:00:38 +09:00
2023-09-21 20:33:32 +09:00
2022-02-27 16:58:44 +09:00
wip
2023-10-12 13:44:36 +09:00

zk-toolkit

Cryptographic primitives library built from scratch

Goal

To implement cryptographic primitives in the simplest form without any optimization

What's implemented so far

  • BLS12-381
    • Extension fields
    • Miller's Algorithm
    • Weil/Tate Pairing
    • Key generation, sign and verify
  • Pinnocio zk-SNARKs
    • Equation parser
    • R1CS
    • QAP
    • ** remaining parts to be implemented using BLS12-381 pairing
  • Bulletproofs
  • Ed25519
    • Key generation, EdDSA sign/veriry
  • Weierstrass curve
    • Affine coordinate operations
    • Jacobian coordinate operations
  • Secp256k1
    • Key generation, ECDSA sign/verify
  • SHA256 and SHA512 hashers
  • Generic HMAC

What's NOT implemented so far

  • Big number
  • Random number generator
Description
No description provided
Readme GPL-3.0 969 KiB
Languages
Rust 100%