Simple caesar cipher in java

Posted by Max Canlas on Stack Overflow See other posts from Stack Overflow or by Max Canlas
Published on 2009-11-30T18:32:08Z Indexed on 2010/06/14 2:02 UTC
Read the original article Hit count: 405

Filed under:
|
|

Hey I'm making a simple caesar cipher in Java using the formula [x-> (x+shift-1) mod 127 + 1] I want to have my encrypted text to have the ASCII characters except the control characters(i.e from 32-127). How can I avoid the control characters from 0-31 applying in the encrypted text. Thank you.

© Stack Overflow or respective owner

Related posts about java

Related posts about cryptography