Skip to content

Commit

Permalink
Update AnonCrypt.js
Browse files Browse the repository at this point in the history
formatting
  • Loading branch information
ShellTear authored Sep 29, 2021
1 parent 6435e56 commit c733fa1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions AnonCrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,20 @@ const main = () => {
let encrypted = cipher.update(message, "utf8", "hex")
encrypted += cipher.final("hex")
console.log("\x1b[93mCiphered Text is:", encrypted)
return
}
return
}

case 2: {
const message = prompt("Enter text to decrypt: ")
let decrypted = decipher.update(message, "hex", "utf8")
decrypted += decipher.final("utf8")
console.log("\x1b[94mDiciphered Text is:", decrypted)
return
}
return
}

case 3:
console.log(`Your current system is a: ${os.platform} system`)
return
return

case 4:
const http = require("http");
Expand Down

0 comments on commit c733fa1

Please sign in to comment.