64f012b276
Co-authored-by: Chih Cheng Liang <chihchengliang@gmail.com> Co-authored-by: Danny Ryan <dannyjryan@gmail.com> Co-authored-by: Dmitrii Shmatko <leodex23@gmail.com> Co-authored-by: Jannik Luhn <jannik@brainbot.com> Co-authored-by: Paul Hauner <paul@paulhauner.com> Co-authored-by: protolambda <proto@protolambda.com> |
||
---|---|---|
.. | ||
README.md | ||
main.py | ||
requirements.txt |
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
- Eth2.0 spec
- Finite Field Arithmetic
- Chapter 2 of Elliptic Curve Cryptography. Darrel Hankerson, Alfred Menezes, and Scott Vanstone
- Zcash BLS parameters
- Trinity implementation
Comments
Compared to Zcash, Ethereum specs always requires the compressed form (c_flag / most significant bit always set).