onflow / crypto

Apache License 2.0
2 stars 4 forks source link

Add more expand message implementations for BLS #18

Open tarakby opened 1 month ago

tarakby commented 1 month ago

Issue to be solved

The current repo's BLS expand_message_xof was designed before the hash-to-curve RFC 9380 or its previous draft versions became available. Although the design follows the requirements of a variant expand message, it resulted in a specific design that is different than what is used by BLS other open source libraries.

Users of the lib can define any other expand-to-message implementation as a Hasher used by the BLS signing interface, but it would be good if the package supports the more standard designs.

Definition of done:

Suggested Solution

No response