This snippet does letter to word encryption. 

Each letter is encrypted to the corresponding word in the string.