Initial commit added encrypt and decryption functions