Skip to content

Samsara07/Caesar-Cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Caesar-Cipher

These programs encrypt, decrypt, and crack any message using the Caesar Cipher.

ENCRYPTION:

The user needs to type up their message and choose a number between 0-25 to shift the message.

Example:

Input the text you want to encrypt: "Hello World!" What you inputted: "Hello World!" Input what you want your message to be shifted by: "5"

"Mjqqt Btwqi!"

DECRYPTION:

The user needs to type up the encrypted message and type in the number originally used to shift the message.

Example:

Input the text you want to decrypt: "Mjqqt Btwqi!"

Input what the original shift used to encrypt your message was: "5"

What you inputted: "5"

Here is the original Unshifted Word: "Hello World!"

CRACKING:

The user needs to type up the encrypted message.

Example:

Input the text you want to decrypt: "grgt sgznoyut zaxotm cgy g hxozoyn sgznksgzoiogt rumoiogt ixevzgtgreyz gtj iusvazkx yioktzoyz nk cgy nomnre otlraktzogr ot znk jkbkruvsktz ul iusvazkx yioktik vxubojotm g luxsgroygzout ul znk iutikvzy ul grmuxozns gtj iusvazgzout cozn znk zaxotm sginotk zaxotm oy cojkre iutyojkxkj zu hk znk lgznkx ul iusvazkx yioktik gtj gxzoloiogr otzkrromktik"

Best Shift: 6

Here is the original Unshifted Word: "alan mathison turing was a british mathematician logician cryptanalyst and computer scientist he was highly influential in the development of computer science providing a formalisation of the concepts of algorithm and computation with the turing machine turing is widely considered to be the father of computer science and artificial intelligence"