Vigenère Cipher - Small Basic Featured Program
From Wikipedia: "The Vigenère cipher is a method of encrypting alphabetic text by using a series of different Caesar ciphers based on the letters of a keyword... The first well documented description of a polyalphabetic cipher was formulated by Leon Battista Alberti around 1467 and used a metal cipher disc to switch between cipher alphabets."
Wikipedia speaks of the Caesar Cipher: "In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a shift of 3, A would be replaced by D, B would become E, and so on. The method is named after Julius Caesar, who used it in his private correspondence."
Import Code: WCD295
You can grab the code here (but it won't run online):
https://smallbasic.com/smallbasic.com/program/?WCD295
This program comes from Amir CPS.
Have you used it? Encoded any secret messages? Leave a comment?
Enjoy!
- Ninja Ed
Comments
Anonymous
February 24, 2013
Added this cipher to the Small Basic Program Gallery: blogs.msdn.com/.../small-basic-program-gallery-listed-by-category.aspxAnonymous
July 14, 2014
This cipher is also listed here now: blogs.msdn.com/.../small-basic-character-based-ui-apps.aspx