Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

The default implementation is incompatible with Ethereum specification #59

Closed
shresthagrawal opened this issue Nov 4, 2022 · 1 comment

Comments

@shresthagrawal
Copy link

This implementation uses BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_ while Ethereum uses BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_. To verify Ethereum signatures one has to set the DST label (bls.utils.setDSTLabel('BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_')). Perhaps worth mentioning this in the README.

@paulmillr
Copy link
Owner

the repo got merged into paulmillr/noble-curves and is now deprecated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants