Patent ID: 11914754
Assignee: nan
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 14:
15. A method for verifying with an apparatus the integrity of a first dataset originating from a sender, the method comprising:
receiving, using one or more computing device processors, a first dataset, wherein the first dataset was sent by a sender;
determining, using the one or more computing device processors, a mixer number, wherein the mixer number is generated randomly;
obtaining, using the one or more computing device processors, and based on a mixing function, mixed data, wherein the mixing function comprises mixing the mixer number with the first dataset, the mixing function being an XOR logic function or consisting in adding the mixer number to the end of the first dataset or being an encrypting function using the mixer number as encryption key to encrypt the first dataset;
generating, using the one or more computing device processors, and based on a hash function, a hash, wherein the hash is a result of the hash function being applied to the mixed data, and wherein the hash function is selected from the group consisting of SHA1, SHA2, SHA256, MD5, and the Jenkins function;
receiving, using the one or more computing device processors, a second dataset, wherein the second dataset was sent by the sender, wherein the second dataset is encrypted, and wherein the encrypted second dataset is generated by the sender, wherein the generation of the second dataset comprises the sender obtaining a result by mixing the mixer number with the first dataset using the mixing function, further generating a second hash by applying the hash function to the result using the single-use key, and encrypting the second hash;
decrypting, using the one or more computing device processors, the second dataset using a single-use key, wherein the single-use key is used once by the sender to generate the encrypted second dataset and is used once by the apparatus for decrypting the encrypted second dataset, generating a decrypted second dataset, wherein the decrypted second dataset comprises the second hash;
comparing, using the one or more computing device processors, the hash with the decrypted second dataset;
in response to determining the hash and the decrypted second dataset are associated:
verifying an integrity of the first dataset;

counting, using the one or more computing device processors, a series of consecutive failed verification attempts; and
ceasing comparison when the series of consecutive failed verification attempts reaches a predetermined number,
wherein, in response to the ceasing comparison, the verifying continues after renewal of the single-use key,
wherein the mixer number is known to the sender and to the apparatus, wherein the mixer number is not being shared with a third party, and wherein the mixer number is encrypted, and
wherein the mixer number is associated with physical quantities, and wherein at least one of the physical quantities varies continuously,
wherein the mixing function comprises adding the mixer number to an end of the first dataset,
being carried out in an environment where non protected data transmission can be altered with the use of quantum computers.