eth2.0-specs/test_generators/bls
Danny Ryan 43132a3082
[reopen] Eth2 shorthand standardized (#1452)
* Update README.md

* Update README.md

* Update p2p-interface.md

* Update simple-serialize.md

* Update README.md

* Update initialization.md

* Update README.md

* Update 0_beacon-chain-validator.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2019-10-28 15:53:10 +08:00
..
README.md [reopen] Eth2 shorthand standardized (#1452) 2019-10-28 15:53:10 +08:00
main.py fix BLS tests name length 2019-09-08 14:36:09 -04:00
requirements.txt Bump `py_ecc==1.7.1` 2019-07-16 14:27:34 +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.