..
This commit is contained in:
@ -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