hello all I am writing ceaser cipher in java (to go along with a massive encryption tool when its all done)...
I just wanted a few opinions really...
should I include special characters? like punctuation ... if I leave puntuation out of a cipher it could be easier to decrypt ... example
hello bob, how is you're mother?
could looks like
gyrrq tqt, gqp dz uqi'wy fqmgyw?
obviously I can see that the first word is probably hello and that the second is a name or something to address someone due to the normal letter lay out if wrong I can for sure see the " ' " which would suggest "re" .... but if I remove all punctuation sentences can become hard to understand or meanings can change all together.
also should i make everything a standard lower case? this is my alphabet char array so far:
is this going a bit OTT? or good to allow proper communication? i need to add more special characters and maybe remove the caps (as most people would assume the first would be a cap in a sentence which allows a small amount of elimination)
Question
Original Poster
hello all I am writing ceaser cipher in java (to go along with a massive encryption tool when its all done)...
I just wanted a few opinions really...
should I include special characters? like punctuation ... if I leave puntuation out of a cipher it could be easier to decrypt ... example
hello bob, how is you're mother?
could looks like
gyrrq tqt, gqp dz uqi'wy fqmgyw?
obviously I can see that the first word is probably hello and that the second is a name or something to address someone due to the normal letter lay out if wrong I can for sure see the " ' " which would suggest "re" .... but if I remove all punctuation sentences can become hard to understand or meanings can change all together.
also should i make everything a standard lower case? this is my alphabet char array so far:
{'a', 'b', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1',
'2', '3', '4', '5', '6', '7', '8', '9', '0', '\'', '\"', ',', '@', '[', ';', '#', ']', '-', '_', '~', '{', '}', '?', '*', '?',};
is this going a bit OTT? or good to allow proper communication? i need to add more special characters and maybe remove the caps (as most people would assume the first would be a cap in a sentence which allows a small amount of elimination)
opinions? thoughts? ideas? extras?
Link to comment
Share on other sites
14 answers to this question
Recommended Posts