Skip to content

Commit ef5fe72

Browse files
committed
Add BN256 curve reference
1 parent 813b226 commit ef5fe72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/utils/cryptography/ZKEmailSigner.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ abstract contract ZKEmailSigner is AbstractSigner {
2626
/*
2727
* @dev Unique identifier for owner of this contract defined as a hash of an email address and an account code.
2828
*
29-
* An account code is a random integer in a finite scalar field of BN254 curve.
29+
* An account code is a random integer in a finite scalar field of https://neuromancer.sk/std/bn/bn254[BN254] curve.
3030
* It is a private randomness to derive a CREATE2 salt of the user’s Ethereum address
3131
* from the email address, i.e., userEtherAddr := CREATE2(hash(userEmailAddr, accountCode)).
3232
*/

0 commit comments

Comments
 (0)