mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
nrln genIdentifier added
Former-commit-id: b5b7051dcbd2c7b925ec253831f091c1aafbb20a [formerly e4fa824cb3]
Former-commit-id: e44e729dd125cb9cab0278d5a8e76e6112914860
This commit is contained in:
@@ -91,6 +91,14 @@ class NRln extends ZkProtocol {
|
||||
}
|
||||
return f0
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns unique identifier of the rln dapp
|
||||
*/
|
||||
genIdentifier(): bigint {
|
||||
return Fq.random()
|
||||
}
|
||||
}
|
||||
|
||||
export default new NRln()
|
||||
|
||||
@@ -72,9 +72,8 @@ class Rln extends ZkProtocol {
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns unique identifier of rln dapp
|
||||
* @returns unique identifier of the rln dapp
|
||||
*/
|
||||
|
||||
genIdentifier(): bigint {
|
||||
return Fq.random()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user