This commit is contained in:
Justin 2020-12-06 21:04:11 +00:00 committed by Hsiao-Wei Wang
parent 56048cbf56
commit 0b9e80d1eb
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ def bytes_to_uint64(data: bytes) -> uint64:
#### BLS signatures
The [IETF BLS signature draft standard v4](https://tools.ietf.org/html/draft-irtf-cfrg-bls-signature-04) with ciphersuite `BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_` define the following functions:
The [IETF BLS signature draft standard v4](https://tools.ietf.org/html/draft-irtf-cfrg-bls-signature-04) with ciphersuite `BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_` defines the following functions:
- `def Sign(secret_key: int, message: Bytes) -> BLSSignature`
- `def Verify(pubkey: BLSPubkey, message: Bytes, signature: BLSSignature) -> bool`