Closed mratsim closed 4 years ago
This updates nim-blscurve with the following changes:
Better in line with BLS signature draft v2: https://tools.ietf.org/rfcdiff?url1=https://tools.ietf.org/id/draft-irtf-cfrg-bls-signature-00.txt&url2=https://tools.ietf.org/id/draft-irtf-cfrg-bls-signature-02.txt
privToPub
secretKeyToPubkey
skToPk
KeyValidate
EIP2333 https://eips.ethereum.org/EIPS/eip-2333 and keyGen in BLS signature draft 2
keyGen
The changes only affect new key generation, existing keys are not impacted.
This updates nim-blscurve with the following changes:
Better in line with BLS signature draft v2: https://tools.ietf.org/rfcdiff?url1=https://tools.ietf.org/id/draft-irtf-cfrg-bls-signature-00.txt&url2=https://tools.ietf.org/id/draft-irtf-cfrg-bls-signature-02.txt
privToPub
deprecated in favor ofsecretKeyToPubkey
(specskToPk
). Converting secret key to public key was just an unspecified helper before.KeyValidate
/publicKey subgroup checksEIP2333 https://eips.ethereum.org/EIPS/eip-2333 and
keyGen
in BLS signature draft 2The changes only affect new key generation, existing keys are not impacted.