Defined the encryption and decryption of data