encrypt/decrypt/verify response from ios