Purchase Solution

Java Application to implement Caesar's Cipher Encryption

Not what you're looking for?

Ask Custom Question

Write a Java application to implement the following:
The cipher that Caesar used is a simple shift technique to replace each letter of the alphabet with another letter further down the alphabet as shown (similarly for lower case letters).
Original letter: A B C D E F G H I J K L M N O P Q R S T U V X Y Z
Coded letter: D E F G H I J K L M N O P Q R S T U V X Y Z A B C
In other words, if the letter to be encrypted is the Nth letter in the alphabet, replace it with the (N+K)th where K is some fixed Integer (Caesar used K = 3).

Attachments
Purchase this Solution

Solution Summary

A java application is written to solve the given problem. A class file is attached which does everything asked for. However the source file does not contain the decrypt method.

Solution Preview

A java application is written to solve the given problem. A class file is attached which does everything asked for. However the source file does not contain the decrypt method. This is done as per regulations of this website and service pursuant to student's and OTA's ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.