The invention discloses an integrity
verification method with an active
attack resistance, wherein the integrity
verification method mainly settles a problem of incapability of resisting active attacks in prior art. The integrity
verification method comprises the steps of 1, uniformly blocking a file by a user, generating a main
label and an
auxiliary label, selecting a
cryptographic Hash function, a pseudo random function and a pseudo random substitution function; 2, transmitting file sub-blocks to a
cloud service provider by the user, deleting a local file, generating inquiry information by the user and transmitting the inquiry information to the
cloud service provider; 3, generating proving information by the
cloud service provider, and resisting the active
attack by the user through the proving information and unidirectionality of the
Hash function; and 4, verifying the proving information by the user through locally generating verification information, wherein the proving information is transmitted by the cloud
service provider, if verification passes, determining a fact that the user data are complete, and otherwise, determining a fact that the data are damaged. The integrity verification method has advantages of reducing communication traffic and improving active
attack resistance. The integrity verification method can be used for
data integrity verification under a
precondition that a
client which is supported in
cloud storage loses a data ownership.