Decrypts the given data using the provided key.
The data to decrypt.
The key to use for decryption.
The decrypted data as a string.
Encrypts the given data using the provided key.
The data to encrypt.
The key to use for encryption.
The encrypted data as a string.
A service that uses a key to encrypt and decrypt data.