Basic java homework help: Object oriented programming

  • Posted:
  • Proposals: 3
  • Remote
  • #104537
  • Archived
James R.AVR S.Ionescu A. have already sent a proposal.
  • 1

Description

Experience Level: Entry
I'm struggling with a Java homework to build a playfair cipher program. It is a very basic program, can somebody help me? The way it works is to create a 5x5 key table using the entire English alphabet, with the exception of the letter J. The order of the letters in the key table is determined by a 5 letter phrase that I decide upon> i will use the word 'Break'.
So basically, if I used my key table would be this:
B R E A K
S C E B D
F G H I K
L N Q T U
V W X Y Z


As you can see, you start out with the key phrase, and then add every unused letter of the alphabet, with the exception of J, and you only use each letter once. Once that is done, I need to take a word from the user and then code it. Firstly, it needs preparing by removing all punctuation and spacing. then, the the phrase is split up into pairs. So COMP would become CO MP. To encrypt a phrase, you must find each pair of letters position on the 5x5 key table, and for each letter, i must output the letter in the same row but at the position of the other..

...i can post the question upon response but that is the general outline...

New Proposal

Create an account now and send a proposal now to get this project.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.