secret_key => privkey

This commit is contained in:
Justin
2020-12-08 09:20:50 +00:00
committed by GitHub
parent 0b9e80d1eb
commit f2fe390638

View File

@@ -604,7 +604,7 @@ def bytes_to_uint64(data: bytes) -> uint64:
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 Sign(privkey: int, message: Bytes) -> BLSSignature`
- `def Verify(pubkey: BLSPubkey, message: Bytes, signature: BLSSignature) -> bool`
- `def Aggregate(signatures: Sequence[BLSSignature]) -> BLSSignature`
- `def FastAggregateVerify(pubkeys: Sequence[BLSPubkey], message: Bytes, signature: BLSSignature) -> bool`