Results 1 to 8 of 8

Thread: vigenere cipher

  1. #1
    swaart is offline Member
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0

    Default vigenere cipher

    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.
    Last edited by swaart; 03-07-2009 at 05:12 PM.

  2. #2
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    6

    Default

    have you done programming in any other language? what can't you actually do in java? half the people who say that they know nothing in java actually know a lot more than the lead on to know and for one reason or another do not want to say where they are going wrong. the other half actually don't know anything about java and need to seek out a tutorial to get the jump started so they can ask real questions that we can help.

    here are a couple links. google is your friend.
    Trail: Getting Started (The Java™ Tutorials)
    VigenÃĻre cipher - Wikipedia, the free encyclopedia

  3. #3
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    6

    Default

    Please, I need help with following homework. I donīt know anything about any
    programming in java.
    You know nothing about Java but your homework is to write an en/decoder in Java? Make you mind up, pal.
    I die a little on the inside...
    Every time I get shot.

  4. #4
    swaart is offline Member
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0

    Default

    Thanks, but I havenīt thought up it. Itīs for school - I began studying informatics and computer engineering. I have tried to find by way of google but it hasnīt corresponded anything to assignment.

  5. #5
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default

    You mean that you googled "java vigenere" and you found nothing? Now... to do the assignment, you need to know how the Vigenere works...do you ?

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  6. #6
    swaart is offline Member
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0

    Default

    Yes, I do...probably. But it doesnīt help me. My knowledge of programming is very tragical. I donīt know what to do at all.

  7. #7
    coolgirl is offline Member
    Join Date
    Nov 2011
    Posts
    6
    Rep Power
    0

    Default Re: vigenere cipher

    doea anyone knows how to do encode and decode by vigener cipher?

  8. #8
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,375
    Blog Entries
    7
    Rep Power
    20

    Default Re: vigenere cipher

    This article describes it all.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Need help with Ceasar Cipher question
    By Gigi in forum New To Java
    Replies: 3
    Last Post: 01-21-2009, 03:25 AM
  2. cipher.. Won't work
    By jgonzalez14 in forum New To Java
    Replies: 1
    Last Post: 11-18-2008, 01:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •