jamesadhitthana / SimpleROT13

The simplest and easiest way to encrypt and decrypt (cipher) a string of text using Java!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy and Simple ROT13

ROT13 James Adhitthana Cover

ROT13 is the simplest and easiest way to encrypt and decrypt (cipher) a string of text! On this java application I have created a very simple java app to encrypt/decrypt a string of text using ROT13. ROT13 is basically another substitution cipher technique (part of the Caesar cipher) that replaces a letter with the thirteenth letter after it (ROT13 = "rotate by 13 places").

ROT13 Example from Wikipedia

Getting Started

Just download the java file and then run it on your computer. I have commented the code and so you can just view my comments to understand how the code works. It is so easy that beginner programmers should be able to understand it. Enjoy!

Instructions

  1. Run the .java file and follow the instruction on the console
Input string to encrypt/decrypt then press enter: 
  1. Type the string to encrypt/decrypt on the console
Input string to encrypt/decrypt then press enter: This is a secret text!
  1. Press enter to process the text
  2. View the results!
Input string to encrypt/decrypt then press enter: This is a secret text!
---
String Before:
This is a secret text!
---
String After:
Guvf vf n frperg grkg!

Author

Acknowledgments

About

The simplest and easiest way to encrypt and decrypt (cipher) a string of text using Java!


Languages

Language:Java 100.0%