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

17 lines
444 B
Markdown
Raw Normal View History

# Test format: BLS sign message
2019-06-30 23:36:19 +00:00
Message signing with BLS should produce a signature.
## Test case format
The test data is declared in a `data.yaml` file:
```yaml
input:
privkey: bytes32 -- the private key used for signing
message: bytes32 -- input message to sign (a hash)
output: BLS Signature -- expected output, single BLS signature or empty.
```
2019-04-23 17:59:58 +00:00
All byte(s) fields are encoded as strings, hexadecimal encoding, prefixed with `0x`.