eth2.0-specs/tests/formats/bls/sign.md

412 B

Test format: BLS sign message

Message signing with BLS should produce a signature.

Test case format

The test data is declared in a data.yaml file:

input:
  privkey: bytes32 -- the private key used for signing
  message: bytes32 -- input message to sign (a hash)
output: bytes96    -- expected signature

All byte(s) fields are encoded as strings, hexadecimal encoding, prefixed with 0x.