An array of bytes representing the encrypted string.
This function will throw an error if encryption fails.