eigen-crypto-bls

Eigen layer bls utilities

1 unstable release

new 0.1.0 Sep 30, 2024

#549 in Magic Beans

Download history 220/week @ 2024-09-26

220 downloads per month
Used in 12 crates (7 directly)

Custom license

495KB
791 lines

Eigen Layer Bls

This crate contains the following utilities:

  • New bls key pair generation
  • Get Public Key on G1 and G2
  • Helper functions to convert Arkworks parameters to alloy compatible . Ex:
    • convert_to_g1_point : Converts G1Affine to Alloy compatible G1Point
    • convert_to_g2_point : Converts G2Affine to Alloy compatible G2Point
    • alloy_g1_point_to_g1_affine: Converts Alloy G1Point to G1Affine
  • Signing a message using the keypair

Example

Dependencies

~32–46MB
~876K SLoC