Fix some stuff and sort of implement proving

This commit is contained in:
jude
2023-03-24 12:41:54 +00:00
parent 6de13d3b70
commit 07b1080b3d
7 changed files with 137 additions and 21 deletions

View File

@ -86,7 +86,7 @@ export class ReadOnlyCyphertext {
this.cyphertext = (this.cyphertext * c.cyphertext) % this.pubKey.n ** 2n;
}
prove(plainText, a) {
prove(tag, plainText, a) {
return new ProofSessionVerifier(this, plainText, a);
}
}