Hello!
Please, I need help with following homework. I donīt know anything about any
programming in java. I have no one else to turn to. I apologize for my English.
Here is assignment e.g. by course of: //how-2-do.blogspot.com/2007/02/how-to-encode-decode-vigenre-cipher.html
Job is to write methods encryption and decryption by Vigenere cipher with given password. One method will do encryption given to open text, result will be ciphertext. And another method will do decryption given to ciphertext, result will be open text.
Expects implementation two methods, one’s for encryption and second for decryption, see screen code:
public class Vigenere {
public String cipher (String openText, String password) {
}
public String decipher (String cipherText, String password) {
}
}
Of course you can implement next, auxiliary, methods according to your discretion. On entry supposed only characters a-z, or correct entryies.
Verification rightness your solving you can carry out ourselves - if carry out encryption and resulting decryption, you must get same open text.
As far as possible, create a simplest code, please. Thank so much in advance.
