Math and
All Math
How Math
Helped Me
Lesson 1  Lesson 2  Lesson 3  Lesson 4  Lesson 5  Lesson 6  Lesson 7

Lesson 1 -Simple 2-Letter Encoding Program For Words Up To 8 Letters Long

Note: To use the Javascript programs in these lessons, you will need to use a FireFox browser or other non-Internet Explorer browser due to the "feature" in the IE browser disallowing Javascript prompts.

This program converts each letter that you type into a new letter that is two letters past your letter in the alphabet. For example, if you enter "A", the letter is encoded into the letter "C".  If you enter anything other than a letter from A-to-Z, a value of " * " is returned.

How To Use This Program
To use this program, go to the code generator page and type your word or words one letter at a time in upper or lower case, hitting "Enter" after each letter typed. To place a space between two words, type nothing at all and hit "Enter". You must type letters (or nothing at all) and hit "Enter" for 8 letters. In the above example, you would do the following:
type C and hit "Enter"
type A and hit "Enter"
type T and hit "Enter"
type nothing at all and hit "Enter"
type D and hit "Enter"
type O and hit "Enter"
type G and hit "Enter"
type nothing at all and hit "Enter"

Note For Words Less Than 8 Characters Long
If you want to encode a word that is less than 8 characters long, type nothing at all and hit "Enter" for the letters that are not present.  For example, to simply encode the word MARY, type M  and hit Enter, type A and hit Enter, type R and hit Enter, type Y and hit Enter, type nothing and hit Enter, type nothing and hit Enter, type nothing and hit Enter, and type nothing and hit Enter.

Can You See A Potential Problem With This Encoding Scheme?
This coding scheme "bumps" the letter up two places using a mathematical formula. What will the letter "Z" get "bumped" to? Try out this code generator and find out what happens and why.









Copyright 2012, Michael Sakowski and His Licensors
News on My Blog! Share Your Ideas! Copyright Info Suggested Uses Links Contact FAQs