Hopefully my changes are committed

Added in Encryption and Decryption functions.