From 9ea4fad6a4c002a2f5539eed0a203e98c58fd1cc Mon Sep 17 00:00:00 2001 From: imposter-7 <97745918+imposter-7@users.noreply.github.com> Date: Sun, 23 Jan 2022 23:25:06 +0200 Subject: [PATCH] Update myscript.js --- myscript.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/myscript.js b/myscript.js index 8b7dfd7..bad1b4e 100644 --- a/myscript.js +++ b/myscript.js @@ -143,6 +143,8 @@ function takePlain() { } console.log("Plaintext converted to ascii array: ", plainSplit); protocol(); + + alert("n: "+(n*1)+"\np: "+(p*1)+"\nq: "+(q*1)+"\nphi: "+(1*phi)+"\ne: "+(e*1)+ "\nPublic Key: ("+(e*1)+","+(n*1)+")\nPrivate Key: ("+(d*1)+","+(1*phi)+") \nCipher Text:"+Cipher); } var protocolNum; function protocol() {