def METHOD_NAME(self):
    """
    Check the encryption works
    """
    env = {"auth": "token", "crypto_key": "hvac_key"}
    file_data = "foo:some_random_value"
    vault_transit_obj = VaultTransit(file_data, env)
    data = base64.b64decode(vault_transit_obj.data.encode())
    response = self.client.secrets.transit.decrypt_data(
        name="hvac_key", mount_point="transit", ciphertext=data.decode()
    )
    plaintext = base64.b64decode(response["data"]["plaintext"])
    file_data_b64 = file_data.encode()
    self.assertTrue(plaintext == file_data_b64, "message")