Encrypts the provided data with the provided key.
The encrypted data
The data to be encrypted
The encryption key to use