The following is an example of me decrypting a Caser Cipher;
First, I looked at the order the letter r and j were by themselves, using frequency analysis attack (this is when you look at the order and spacing of cipher text). So I used the brute force attack (this is considering all possibilities) guessing that one of them is a "a" and the other is a "I". If R is I then the key could be the following; 17 or -9 when it is -9 j is a, so this is likely to be correct; I will proceed to decrypt (find plain text) the cipher text (text with hidden message) and if the plain text (a message at its purest ) if revealed the key is correct or not. After substitution ciphering (testing a possible key) the text I got was; "I meft my snul io a deep" my estimation was incorrect, but when analysing, some words are whole, so there must be some connection to -9 as a key. Frequency analysis; there are three two letter words starting with R as well as it being by itself, I believe, I could find a the plain text for "R" if I use the brute force attack and guess letters until one fits; Common two letter word, in at to is be by it, if none of the letters can start with I because -9 doesn't work. After this I prompted the encrypt-er to cheek his work and it turned out my inital frequency analysis attack was actually a successful decipher method to find the key.
i left my soul in a deep dark hole and then I followed it in - kenny rogers
r unoc vh bxdu rw j mnny mjat qxun jwm cqnw r oxuuxfnm rc rw - tnwwh axpnab
Encryption importance
Encryption is a necessary process in the technological world we live in today; information isn't always safe to transport in the form of plain text. Like with online credit card use, websites have to encrypt your details so hackers can't intercept and steal from customers, so without encryption online shopping wouldn't exist. An other example of the importance of encryption is the police and governments use, police can't use databases containing undercover investigations if there is a chance that it could be intercepted by criminals themselves, in this case encryption saves lives.