Results 1 to 10 of 32

Thread: Beginner's Programming Challenge 18

Threaded View

  1. #1
    Join Date
    Apr 2008
    Location
    Ireland
    Beans
    286
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Beginner's Programming Challenge 18

    Hi all, as I am the winner of Beginner's Programming Challenge 17 I have the honour of bringing to you Beginner's Programming Challenge 18.

    This time the challenge involves some basic cryptography. You must implement the Vigenère cipher in a programming language of your choice. Your program must prompt the user for a plaintext (the message) and a key (the password) and it should output the corresponding cyphertext (the encrypted message). For the sake of simplicity both the message and the key must contain only uppercase letters of the English alphabet.

    For bonus points your program should also be able to decrypt a message given a cyphertext and a key.

    This is a beginner's challenge, so the source code shouldn't be hard to read. Also please include plenty of comments.

    Some reading:
    http://en.wikipedia.org/wiki/Caesar_cipher
    http://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher

    Best of luck to all.

    Rouslan
    Last edited by roccivic; January 18th, 2011 at 10:08 PM.

Bookmarks

Posting Permissions

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