Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Willie Howell   on Jun 16 In Java Category.

  
Question Answered By: Aaminah Khan   on Jun 16

If I remember correctly, the Caesar Cipher is a very basic encryption
algorithm. All you need to do is add any constant number to each character,
then mod Character.MAX_VALUE to make sure it doesn't go over the boundaries,
e.g.
newchar = (oldchar + 10) % Character.MAX_VALUE;

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Caesar Cipher Or get search suggestion and latest updates.


Tagged: