Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions myscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down