..
This commit is contained in:
1 parent
ea217af596
commit
8e149fad42
3 files changed
+11
-8
No files matched your search
@@ -288,7 +288,7 @@ export class PaillierPubKey {
|
||||
|
||||
for (let i = 0n; i < BigInt(KEY_SIZE); i++) {
|
||||
this._h_cache.push(mod_exp(this.h, 2n ** i, this.n));
|
||||
this._hn_cache.push(mod_exp(this.h, 2n ** i, this.n2));
|
||||
this._hn_cache.push(mod_exp(this.hn, 2n ** i, this.n2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user