Added encryption constants.
Encrypt and decrypt implemented.