eth2.0-specs/tests/generators/bls
Hsiao-Wei Wang 78d83b6c7d
Bump py_ecc to v3.0.0 (IETF BLS v2 + H2C v6)
2020-05-12 12:21:35 +08:00
..
README.md Update link 2020-01-22 11:04:45 +11:00
main.py Update to IETF BLS draft-irtf-cfrg-bls-signature-02 2020-05-09 11:48:48 +08:00
requirements.txt Bump py_ecc to v3.0.0 (IETF BLS v2 + H2C v6) 2020-05-12 12:21:35 +08:00

README.md

BLS Test Generator

Explanation of BLS12-381 type hierarchy The base unit is bytes48 of which only 381 bits are used

  • FQ: uint381 modulo field modulus
  • FQ2: (FQ, FQ)
  • G2: (FQ2, FQ2, FQ2)

Resources

Comments

Compared to Zcash, Ethereum specs always requires the compressed form (c_flag / most significant bit always set). Also note that pubkeys and privkeys are reversed.