Cosmic-Collapse

Would you like to react to this message? Create an account in a few clicks or log in to continue.

Twilight Brigade


2 posters

    Substitution Encryption Algorithms [VB.NET]

    avatar
    Cats777


    Posts : 39
    Join date : 2008-07-21

    Substitution Encryption Algorithms [VB.NET] Empty Substitution Encryption Algorithms [VB.NET]

    Post  Cats777 Wed Feb 25, 2009 6:12 pm

    It's only been a month in my VB.NET course and I've already made a full-fledged program from scratch. This program uses a few selectable substitution ciphers I learned in my cryptography course to encrypt a message. It's meant to be one of my demonstrations for my VB.NET course, but I got started on it a bit early(I started 2 weeks after the first day of class). I implemented every sort of error checking possible, so there should be little to no errors at all.

    Ciphers included:
    Caesar Cipher
    Simple Cipher w/ Key
    Numeric Simple Cipher
    Odd/Even Substitution Cipher
    Vigenere Cipher

    Screenshot:
    Substitution Encryption Algorithms [VB.NET] Subscreen1

    Download:
    Substitution Ciphers 1.0

    Future versions may include some more ciphers and decryption for all ciphers.

    Some notes:

    • Translation and multiplication factors can be negative or positive.
    • Multiplication factor can only be odd. (program checks for this)
    • Keyword for Simple Cipher w/ Key can't have repeating letters. (program checks for this)
    • There is no checking for foreign accented letters such as "è". They are considered letters, but since they're not English letters, they will disappear in the ciphertext.
    • None of the ciphers in this program are considered secure. If the ciphertext message is long enough, it can be deciphered using analytical means(frequency distribution table and/or Kasiski method for Vigenere cipher).


    I can't post the source code right now, as it would possibly jeopardize my demo. I can tell you that the main form has about 380 lines of code(optimized from over 500!).
    Heero Yuy
    Heero Yuy
    Dot Hacker
    Dot Hacker


    Posts : 249
    Join date : 2008-07-02
    Location : ...deep in an awesome story...

    Substitution Encryption Algorithms [VB.NET] Empty Re: Substitution Encryption Algorithms [VB.NET]

    Post  Heero Yuy Thu Feb 26, 2009 6:31 pm

    oooooo...... lol someones been a busy lil bee

      Current date/time is Thu Mar 28, 2024 12:41 pm