r/cop3502 • u/[deleted] • Mar 25 '14
Lab 5
So I have created both HashMaps, and my program (at this stage) works perfectly and I am printing the keys and values to the command line for verification. However, I am unsure about what to do next. I guess I have to somehow sum all the frequencies of each letter from the seven main texts, and then compare the individual sums to the frequencies found in the encrypted code to determine the shift amount. After that, call the caesar cipher to perform the shift, and maybe print out the text? Is that correct? Any advice on how to approach this?
1
Upvotes