parse encryption response