Anonymous user
User:Mwn3d/Seasoning Sandwich Caesar Cipher: Difference between revisions
User:Mwn3d/Seasoning Sandwich Caesar Cipher (view source)
Revision as of 18:11, 23 October 2014
, 9 years agoWording and stuff
m (Use SecureRandom since it's cryptography) |
m (Wording and stuff) |
||
Line 1:
I was reading about the [[Caesar cipher]] and it was mentioned that an easy way for a person to decode the message would be to find the most common character and consider it to be "E" (or the most common character in whatever language). Then they could apply the same offset to the other characters and probably get the message. I wanted to make a version that would make that strategy impossible (don't worry,
<lang java5>import static java.util.Collections.nCopies;
|