Skip to content

Caesar cipher (or Caesar code) is a shift cipher, one of the most easy and most famous encryption systems.

License

Notifications You must be signed in to change notification settings

dmmaycon/CaesarCipherJava

Repository files navigation

CaesarCipherJava

Caesar cipher (or Caesar code) is a shift cipher, one of the most easy and most famous encryption systems.

CaesarCipher cc  = new CaesarCipher("Messages will be converted to lowercase for both encryption and decryption");
System.out.println(cc.encrypt(10)); // shifth 10
// wocckqoc gsvv lo myxfobdon dy vygobmkco pyb lydr oxmbizdsyx kxn nombizdsyx
CaesarCipher cc2 = new CaesarCipher(cc.encrypt(10));
System.out.println(cc2.decrypt(10)); // shifth 10
// messages will be converted to lowercase for both encryption and decryption

alt text

About

Caesar cipher (or Caesar code) is a shift cipher, one of the most easy and most famous encryption systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages