apply data consistence verification in decryption process