mattrglobal / pairing_crypto

A library for pairing based cryptography
Apache License 2.0
14 stars 7 forks source link

feat: implement generators as per latest spec #31

Closed dev0x1 closed 2 years ago

dev0x1 commented 2 years ago

Existing generator implementation uses public key and index value to hash and then generate different generators. As per the latest spec, CreateGenerators definitions have been changed and different predefined and scoped seed values should be used to generate these generators. Also, an extra signature domain generator H_d is added.

These changes reimplement the Generator interface as per the latest spec and fix the use of the interface across the library.

dev0x1 commented 2 years ago

thanks, fixed the review comments.

dev0x1 commented 2 years ago

Partially closes #28