Skip to content

savanddarji/Cracking-a-Shift-Cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Cracking-a-Shift-Cipher

Comments and reviews will be appreciated: darji@uwindsor.ca or savanddarji@gmail.com

The project is python 2.7.12 implementation of shift cipher cracking using english letter frequecy method.

The sample results is given as below:

Enter the cipher text: ItlxhfsmjqugtymjqijwqdujtuqjfsihmnqiwjsbnymymjnwifnqdqnkjGjhfzxjitlxfwjxtfhynajymjdhfsgjlwjfygziinjxktwjcjwhnxjYmjwjfwjrfsdinkkjwjsyitlxkwtrymjwjfqqdgnlytymjxrfqtsjxDtzhfsywfnsdtzwitldtzwxjqktwxjsinyytxhmttqnstwijwytrfpjnytgjinjsy

Encryption key: 5

Your plain text: dogscanhelpbothelderlypeopleandchildrenwiththeirdailylifebecausedogsaresoactivetheycanbegreatbuddiesforexercisetherearemanydifferentdogsfromthereallybigtothesmalonesyoucantrainyourdogyourselforsendittoschoolinordertomakeitobedient

Note: The program can be worked with any size of input but the size should be more than 30 letters for good results. Only enlish letter (A-Z or a-z) can be deciphered and blank space will be appeared with letter 'n' in recovered plain text

If you want to try it with your own plain text then you can encrypt your plain text through: https://github.com/savanddarji/Encryption-using-Shift-Cipher