plume-sig / zk-nullifier-sig

Implementation of PLUME: nullifier friendly signature scheme on ECDSA
MIT License
129 stars 22 forks source link

Add source reference in comments #16

Closed 0xbok closed 10 months ago

0xbok commented 1 year ago

https://github.com/miracl/core/blob/master/javascript/examples/node/TestHTP.js#L37 for https://github.com/zk-nullifier-sig/zk-nullifier-sig/blob/main/javascript/src/utils/hashToCurve.ts#L33

hashToPairing() function is taken from htp() function in TestHTP.js. Best to add this information in comments. Just makes the life of the reader easier. You can add commit info to the source link.