Expand description

Implementation of BLS signatures on the BLS12-381 curve. Reference paper: https://crypto.stanford.edu/~dabo/pubs/papers/BLSmultisig.html

Structs

  • Aggregated form of a BLS public key. The public keys are aggregated in a rogue-key attack resistant manner, by using the hash function defined in the modified version of BLS.
  • A BLS public key, holding a BLS12-381 G2 element inside. The G2 element is constructed by multiplying a SecretKey by g2 (the base point of the G2 group). Can be used for signature verification.
  • A BLS secret key, holding a BLS12-381 scalar inside. Can be used for signing messages.
  • A BLS signature.

Enums

  • Standard error for the interface