I am doing a java caesar cypher application and i need your help.I am supposed to Implement a Caesar cipher, both encoding, and decoding. The key is an integer from 1 to 25. This cipher rotates the letters of the alphabet (A to Z). The encoding replaces each letter with the 1st to 25th next letter in the alphabet (wrapping Z to A). So key 2 encrypts "HI" to "JK", but key 20 encrypts "HI" to "BC".

Note that all the classes should be encapsulated containing private properties. Use getter methods for all properties you must access outside of the class.

Relevant JUnit test should be included

Recommended Answers

All 2 Replies

OK, so that's your homework assignment, now how about showing us how far you have got with your code and telling us where exactly you need help with it? Thanks.

This might be Caesar Cipher instead of Cesar? Can you reveal how it differs?

Don't cheat by checking the 118 solutions. If you use that, you would not learn a thing and may get -100 points.

Show your work and be sure to tell which line is failing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.