Vigenere Cipher in Java

Posted on 08/27/10 at 18:31 Java

By stumbling upon this page, I presume knowledge on the encryption is already at hand. Otherwise, take a walk first. The program is under the following assumptions:

VigenereCipher.java

private static final char[] alphnum = {
   'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
   'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
   'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
};

2 Comments

  1. gravatar.com Azian Rhapsody
    09/09/10 at 13:35

    nerd! lol. i’m spamming you lo. =D was curious what this geeky part of your blog is all about. turned out to be the literal interpretation of geeky like big bang geeky or geeky geeky. ***nosebleeding while typing comment (insert cotton balls in her nose)
    ***this is supposed to be a spam comment but I can’t leave a comment without answering the “spam protector” form. tsk. cunning geek. :crush:

    Reply

    • gravatar.com Nelson
      09/11/10 at 10:35

      So, how are the cotton balls doin’? :laugh:

      It’s nice to show off about something you’re supposed to be good at sometimes, you know. And mind you, “cunning geek” actually sounds fab!

Say What?

Name:
E-mail:
Website: (optional)
3 + 4 = ?

:angel: :blush: :cheerful: :confused: :cool: :crush: :cry: :devil: :duh: :faint: :laugh: :lol: :mad: :no: :omg: :pirate: :sad: :shock: :smile: :suspicious: :sweat: :tongue: :wink: :wtf:

eXTReMe Tracker