This commit is contained in:
jude committed 2023-04-18 14:53:02 +01:00
1 parent ea217af596
commit 8e149fad42
3 files changed
+11 -8

No files matched your search

+1 -1
View File
@@ -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));
}
}