Assuming that encrypted data is base64-encoded