Added encryption and decryption.

New real encryption and decryption added. Don't OK on the encryptions or decryptions.