eth2.0-specs/test_generators/bls
Hsiao-Wei Wang 93fc81e761
Use relative inner repo link
2019-07-01 11:22:18 +08:00
..
README.md Use relative inner repo link 2019-07-01 11:22:18 +08:00
main.py update BLS test generator and format to reflect spec change in BLS 2019-06-30 22:18:52 +02:00
requirements.txt update version used in test generators to get SHA-256 hash 2019-05-24 11:05:07 -07: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.