Cryptographic method for verifying data

The cryptographic method enhances data security by mixing and hashing datasets with a mixer number, addressing vulnerabilities to quantum computing and ensuring reliable authentication by preventing similar data from having the same hash, thus improving data integrity and sender verification.

WO2026052983A1PCT designated stage Publication Date: 2026-03-12SANGLE FERRIERE BRUNO
View PDF 8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2026-03-12

AI Technical Summary

Technical Problem

Existing hashing techniques are vulnerable to attacks by quantum computers and can be bypassed easily, leading to errors in data verification and authentication, particularly in identifying the sender of encrypted data.

Method used

A cryptographic method involving mixing a dataset with a randomly generated mixer number using a mixing function and then hashing the mixed data, followed by comparing the resulting hash with a similarly processed reference hash, ensures that similar data cannot have the same hash, thereby enhancing security and authentication.

Benefits of technology

The method significantly reduces the probability of data substitution and ensures reliable authentication by making it improbable for unauthorized data to have the same hash as the original, even in the presence of quantum computing threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2024000646_12032026_PF_FP_ABST
    Figure IB2024000646_12032026_PF_FP_ABST
Patent Text Reader

Abstract

Cryptographic method for verifying data method, implemented by at least one apparatus, for comparing a first dataset and a second dataset, in particular with a view to determining whether these two datasets are identical, this method not requiring the presence of these two datasets in the apparatus, and comprising the following steps: a) mixing a number, called the mixer number, with the first dataset, using a mixing function in order to obtain mixed data, b) hashing the mixed data using a hash function, and c) comparing the hash thus obtained in step b) with a third dataset assumed to be the hash of the second dataset mixed with the same mixer number as that used in step a) and with the same mixing function. The method can be used for broadcasts and transmissions using digital signatures.
Need to check novelty before this filing date? Find Prior Art

Description

CRYPTOGRAPHIC METHOD FOR VERIFYING DATATechnical Field

[0001] The present invention relates to digital cryptography and to the security of computational and electronic devices, and in particular to digital signatures.Background

[0002] Computers and electronic apparatuses are often connected to a network, physically, wirelessly, by RFID, or by any other secure or unsecure means, and sometimes need to know the identity of the apparatus that has sent them certain data, for example in order to ensure that these data have not been transmitted by another apparatus, which intercepted them and modified them before sending them on to the legitimate recipient, or quite simply to identify beyond a shadow of a doubt the identity of the sender of the data, which is for example an automobile on a road network or an RFID tag worn by a competitor during a sporting event, or for any other reason why the identity of the sender of the data is important to the recipient.

[0003] The transmitted data may be sent entirely encrypted with a key attributed to the sender. However, the encryption of all of the data makes the use of single-use keys (one-time pads) difficult. Specifically, the encryption of all of the data is a method that uses keys that are as long as the data that they encrypt, and these keys must be renewed after use.

[0004] It is therefore necessary for computers or other electronic devices entering into communication, for example via the exchange of text, identifiers, numbers, computer programs, images or video or audio codes, to verify the identity of the sending device using the encryption of an amount of data smaller than the amount of data sent. It is for this reason that an electronic signature consisting in encrypting a hash of the data is used. The term "hash" is used to refer to the result of a hash function that, on the basis of an initial datum provided as input, computes a fingerprint that serves to rapidly, though incompletely, identify the initial datum. It is common to send, with the data, an encrypted hash that will then be decrypted by the recipient, then compared to the hash of the received data. MD5, SHA1 and SHA256 are algorithms conventionally used for such hashing operations. However, data hashes are generally much smaller in size than the original data, and it may be possible to create other data, similar but slightly different to the original data, having a hash equal to the hash of the original data. These data could therefore be substituted for the original data, without being rejected by the procedure for verifying the hash. Any type of data may be substituted, but the detectability by the user of the substitutiondecreases as the complexity of the data increases (a long text, an audio file, a photo or a video). To make the substitution, it is not even necessary to decrypt the encrypted hash. It is enough to simply compute the hash of the original data. Furthermore, hash functions such as MD5 and SHA1 are hash functions that are at the present time relatively easy to bypass.

[0005] The quantum computers that are in the process of being developed should soon be capable of bypassing the security provided by hash functions, since they are capable of optimizing the start files so that they have a preset hash.

[0006] Summary of the Invention

[0007] There is a need to further improve the security of hashing techniques, decreasing the probability of error in the verification of data, and, where appropriate, allowing a more reliable authentication of the sender of these data.

[0008] The invention in particular aims to meet this need, and it achieves this aim by virtue of a method, implemented by a least one apparatus, for comparing a first dataset and second dataset, in particular with a view to determining whether these two datasets are identical, this method comprising the following steps: a) mixing a number, called the mixer number, with the first dataset, using a mixing function, in order to obtain mixed data, b) hashing the mixed data using a hash function, and c) comparing the hash thus obtained in step b) with a third dataset assumed to be the hash of the second dataset mixed with the same mixer number as that used in step a) and with the same mixing function.

[0009] By virtue of the invention, and in particular of the mixing of the first dataset with a mixer number prior to the hashing, it becomes very improbable to be able to create data similar to this first dataset that, after having been mixed with the same mixing number, will have the same hash as the mixed first dataset.

[0010] Preferably, the method according to the invention does not require two datasets to be simultaneously present in the apparatus.

[0011] Preferably, the mixer number is generated randomly.

[0012] The mixer number is preferably generated by the apparatus. As a variant, the mixer number is generated by another trusted apparatus.

[0013] The generation of the mixer number may be based on a pair of input values that are physical quantities at least one of which varies continuously, such as for example the temperature and the time, or on a quantum phenomenon. For example, such a generation may be based on which of two Young's slits a photon chooses to use to pass through a plate.

[0014] Preferably, the mixing operation in step a) is carried out by the apparatus. As a variant, the mixing is carried out by another trusted apparatus.

[0015] The mixing function combines the first dataset and the mixer number. It is, preferably, an XOR logic function that adds the bits of the first dataset and those of the mixer number, one by one. Since the size of the mixer number is generally smaller than the size of the first dataset, it is possible to add via an XOR the bits of the mixer number to the first or last bits of the first dataset.

[0016] The mixer number may have the same size as the first dataset. In this case, the addition via the XOR function is carried out on all the bits, one by one.

[0017] Alternatively, the mixing function consists in adding the mixer number to the end of the first dataset.

[0018] The mixing function may even be an encrypting function using the mixer number as encryption key to encrypt the first dataset.

[0019] Preferably, the data in step b) are hashed by the apparatus. As a variant, the hashing is carried out by another trusted apparatus.

[0020] Preferably, the hash function is chosen among SHA1, SHA2, SHA256 and MD5 and the Jenkins function.

[0021] A first variant of the method according to the invention is a method for verifying with the apparatus the integrity of a message originating from a sender, the method comprising: i. the apparatus receiving the message and an identifier of the message, said message forming the first dataset, ii. generating the mixer number, iii. implementing steps a) and b), in which the message is mixed with the mixer number then hashed, iv. optionally encrypting the mixer number, v. the apparatus sending the identifier of the message and the optionally encrypted mixer number to the sender of the message, vi. the apparatus receiving the encrypted third dataset, preferably with the identifier of themessage, originating from the sender, vii. decrypting the third dataset, and viii. implementing step c), the integrity of the message being ensured if the third dataset decrypted in step vii and the hash obtained in step b) are identical.

[0022] By “integrity” of the message, what must be understood is its non-alteration, for example by a malicious third-party that intercepted it during its transmission.

[0023] The identifier of the message may be a sequence of alphanumeric characters and / or signs able to be converted into a digital word via an ASCII code inter alia.

[0024] The identifier of the message may contain the identifier of the sender and an order number of the message.

[0025] The authentication of the sender is in particular ensured by the decrypting operation in step vii.

[0026] This first variant of the invention makes it possible to ensure both the integrity of the received message and of the identity of the sender of the message.

[0027] The steps relating to sending and receiving the data may be carried out using the same communication protocol, or using different communication protocols. For example, the data received in step i are received via Wi-Fi, the data sent in step v are sent via 4G and the data received in step vi are received via WiMAX.

[0028] In step i, the apparatus may also receive an identifier of the sender. This identifier is useful if the apparatus is able to receive messages from various senders, such an identifier allowing it to choose the encryption keys to be used to encrypt or decrypt the information exchanged with the sender during the encrypting and decrypting operations described in this first variant of the invention.

[0029] Preferably, the method according to this first variant comprises, between steps v and vi: the sender receiving the identifier of the message and the optionally encrypted mixer number, optionally decrypting the mixer number, identifying, using the identifier of the message, the message sent to the apparatus, mixing the message with the optionally decrypted mixer number using the mixing function,hashing the data resulting from the preceding step using the hash function, encrypting the hash resulting from the preceding step, and sending to the apparatus the encrypted hash preferably with the identifier of the message.

[0030] The optional encryption of the mixer number in step iv is preferably carried out by the apparatus.

[0031] The optional encryption of the mixer number makes it possible to prevent this number from being intercepted and altered by a malicious third-party.

[0032] Preferably, the optional encryption of the mixer number is carried out using a singleuse key of a size at least equal to that of the number. Since the key is single-use, a new key is used each time a mixer number is sent.

[0033] The encryption may also be carried out using a symmetric key. The symmetric encryption key is kept secret between the sender and the apparatus, and is preferably renewed after a certain number of transmissions.

[0034] Alternatively, the optional encryption of the mixer number is asymmetric, being carried out either using a public key of the sender known to the apparatus, so as to allow the decryption by the sender using its associated private key, or using a private key of the apparatus the public key of which is known to the sender.

[0035] Thus, a third party is prevented from learning or altering the mixer number.

[0036] Preferably, the decryption in step vii is carried out by the apparatus.

[0037] Preferably, the decryption in step vii is carried out using a symmetric key, if the encryption in step iv is carried out using a single-use key.

[0038] Alternatively, the decryption in step vii is carried out using a single-use key, if the encryption in step iv is carried out using a symmetric key.

[0039] The decryption in step vii may also be carried out using other methods, for example using a public key known to the apparatus, associated with a private key of the sender having served to encrypt the hash received in step vi. Thus, the apparatus is capable of certifying the identity of the sender.

[0040] The mixer number may have the same size as the symmetric key that serves to encrypt it, if such a symmetric key is used, and also the same size as the hash.

[0041] Preferably, the private, symmetric and single-use encryption keys and the mixernumbers are unguessable and unobservable by third-party devices, to prevent listening to the data sent by the sender or the apparatus from making it possible to generate and transmit fraudulent second datasets that would cause the integrity of messages received by the apparatus but transmitted by a sender other than that legitimately supposed to hold said keys to be wrongly recognized.

[0042] If the encryption key X of the mixer number x is known, then the hash of the mixed message may be known, because it is enough to decrypt the encryption of x and to compute the mixture of the message before hashing it. The key Y encrypting the hash may then also be guessed or known to belong to a small universe, the hash of the mixed message and its encryption with Y both being known or observable. The encryption key Y is therefore a function F of the encryption key X, or else the encryption key Y belongs to a universe depending on the encryption key X. The observation of a plurality of transmissions causes a plurality of functions F to appear, and the values of the keys X and Y are at the intersection of these functions. It is preferable to avoid this situation. It is therefore recommended either to use, for the key X or the key Y, values that change over the course of the transmissions, or to use encrypting functions such that, for each observation of exchanges of the triplet "message, encrypted number, encrypted hash", the universe of the keys Y for each possible X is large; this making the universe resulting from the intersection of these universes deducible at each observation large. It is not recommended to take, for the key Y, the randomly generated mixer number x. Specifically, if the mixer number x is used as encryption key Y, or indeed if the key Y is computed depending on the mixer number x using a defined formula, knowing the encrypted value C of the mixer number x encrypted with the key X, the mixer number x, and therefore Y, becomes another function G of the key X; and the keys X and Y would be at the intersection of the function F and of this new function G. Preferably, the key X or the key Y is renewed after each exchange.

[0043] The apparatus may furthermore comprise a counter of consecutive failed verification attempts that triggers a blockage thereof when a defined number is reached, the apparatus possibly being unblocked during the renewal of the encryption key used to encrypt the mixer number or the encryption key used to encrypt the hash.

[0044] Alternatively, the apparatus may impose a predetermined number of unsuccessful successive verification attempts of messages arriving or sent by a same sender, after whichpredetermined number, and after a set period of time, the apparatus either places the received messages or the message sent by the same sender in a queue or, preferably, ignores them, before again either trying to decrypt the messages placed in the queue or trying to resume decrypting the messages that are still arriving after the expiry of the set period of time. This approach is advantageously implemented by a device sending back to the sender of the messages placed in a queue or ignored, a reply message to inform it about the treatment of its message. For instance, three messages received consecutively from a sender that cannot be verified may cause the device to discard messages sent by the same sender for a minute, after having told the said sender that its messages are being ignored for such time.

[0045] A second variant of the method according to the invention is a method for verifying with the apparatus the integrity of a message originating from a sender, the method comprising: i. the apparatus receiving the message, the encrypted third dataset and the encrypted mixer number, ii. decrypting the mixer number and the third dataset, and iii. implementing steps a) to c), the integrity of the message being ensured if the hash obtained in step b) and the third dataset decrypted in step ii are identical.

[0046] Preferably, the method according to this second variant of the invention comprises, before step i: the sender generating the mixer number, mixing the mixer number with the message, using the mixing function hashing the data resulting from the preceding step using the hash function, encrypting the hash resulting from the preceding step and forming the third dataset, encrypting the mixer number, and sending, to the apparatus, the message, the encrypted third dataset and the encrypted mixer number.

[0047] These steps are carried out by the genuine sender and allow the alteration of the message by an unauthorized third party to be detected.

[0048] The decryption in step ii of the mixer number and of the third dataset is preferably carried out by the apparatus.

[0049] Preferably, the encryption of the mixer number is carried out using a single-use key, and the encryption of the third dataset is carried out using a symmetric key, the symmetric keypreferably being renewed occasionally.

[0050] Alternatively, the encryption of the mixer number is carried out using a symmetric key, and the encryption of the third dataset is carried out using a single-use key, the symmetric key preferably being renewed occasionally.

[0051] The encryption of the mixer number and the encryption of the third dataset may also be of the same type, or of different types, these types of encryption possibly employing symmetric keys, or asymmetric keys.

[0052] If a pair of asymmetric keys is used for the encryption of the mixer number, the private key of said pair is preferably kept by the apparatus, the corresponding public key then being known to the sender.

[0053] The encryption of the third dataset is, preferably, carried out using a private key kept by the sender, the corresponding public key then being known to the apparatus.

[0054] Thus, by decrypting the mixer number and the third dataset, the apparatus is capable of certifying the identity of the sender.

[0055] The encryption of the mixer number and that of the third dataset may be carried out using the same encrypting function, in particular when the encryption of the mixer number is asymmetric.

[0056] Alternatively, the encryption of the mixer number and that of the third dataset are carried out by two different encrypting functions.

[0057] Preferably, the types of encrypting functions to be used form part of the configuration of the sender and of the apparatus, prior to the setup of the communication between the latter two.

[0058] A third variant of the method according to the invention is a method in which the first dataset is present in the apparatus and the second dataset is present in a second apparatus, the method comprising: i. implementing steps a) and b), ii. encrypting the mixer number, iii. the apparatus sending, to the second apparatus, the encrypted mixer number, iv. the apparatus receiving an encrypted hash of the second dataset, v. decrypting the encrypted hash, and vi. implementing step c).

[0059] Preferably, the method according to this third variant of the invention comprises,between steps iii and iv: the second apparatus receiving the encrypted mixer number, decrypting the mixer number, creating a modified copy of the second dataset using the mixer number and the mixing function, hashing the modified copy of the second dataset using the hash function, encrypting the hash resulting from the preceding step and forming the third dataset, and the second apparatus sending, to the apparatus, the encrypted hash of the second dataset.

[0060] The encryption of the mixer number in step ii and the decryption of the encrypted hash in step v are preferably carried out by the apparatus.

[0061] Preferably, the encryption of the mixer number is carried out using a symmetric encryption key shared with the second apparatus.

[0062] Preferably, the encryption of the hash is carried out using a single-use key and the encryption of the mixer number is carried out using a symmetric key that is renewed occasionally.

[0063] Alternatively, the encryption of the mixer number is carried out using a single-use key and the encryption of the hash is carried out using a symmetric key that is renewed occasionally.

[0064] The encryption of the mixer number and the encryption of the hash may also be of the same type, or of different types, these types of encryption possibly employing symmetric keys, in particular single-use keys, or asymmetric keys.

[0065] A fourth variant of the method according to the invention is a method for verifying that a dataset present in the apparatus has not been modified between two times dl and d2, this dataset forming, at the time dl, the first dataset and, at the time d2, the second dataset, the method comprising: i. implementing steps a) and b), ii. the apparatus securely saving the mixer number and the hash obtained in step b), iii. creating a modified copy of the second dataset using the mixer number and the mixing function, iv. hashing the modified copy using the hash function to form the third dataset, and v. implementing step c).

[0066] Advantageously, the method according to this fourth variant does not require the dataset to be kept securely.

[0067] Another subject of the invention is a computer-program product containing instructions readable by a processor of an apparatus for implementing the method according to the invention, according to any one of the variants defined above.

[0068] Another subject of the invention is s method for verifying, with an apparatus, a broadcast originating from at least one first computing device associated with a first user, the method comprising: receiving, using one or more hardware computing device processors, a broadcast from the at least one first computing device associated with a first user, wherein the broadcast comprises a first dataset and a first dataset signature; generating, using the one or more hardware computing device processors, a first time stamp associated with the reception of the first dataset signature; receiving, using the one or more hardware computing device processors, a first randomly generated number from the at least one first computing device, wherein the first randomly generated number is generated using a random number generator; receiving, using the one or more hardware computing device processors, from the at least one first computing device, a second time stamp associated with the reception of the first randomly generated number; executing, using the one or more hardware computing device processors, a mixing computing operation based on the first randomly generated number and the first dataset; generating, using the one or more hardware computing device processors, a first mixed data based on the execution of the mixing computing operation; executing, using the one or more hardware computing device processors, a hash computing operation based on the first mixed data; generating, using the one or more computing device processors, a first hash based on the execution of the hash computing operation; receiving, using the one or more hardware computing device processors, a first encryption key from the at least one first computing device; encrypting, using the one or more hardware computing device processors, the first hash with the first encryption key, thereby generating a first encrypted hash; determining or verifying, using the one or more hardware computing device processors, an association between the first encrypted hash and the first dataset signature; determining, using the one or more hardware computing device processors, a difference between the first time stamp and the second time stamp; determining or verifying, using the one or more hardware computing devise processors, the difference is greater than a predetermined time lag; receiving, using the one or more hardware computing devise processors,a second electronic signature from the at least one first computing device; and determining or verifying, using the one or more hardware computing device processors, an authenticity of each of the first randomly generated number, the first encryption key, and the second time stamp.Brief description of the drawings

[0069] The invention will possibly be better understood on reading the following detailed description of nonlimiting examples of implementation thereof, and on examining the appended drawings, in which:

[0070] [Fig 1] Figure 1 schematically shows the data and functions necessary to implement the invention according to its first or its second variant,

[0071] [Fig 2] Figure 2 schematically illustrates an example of implementation of the invention according to its first variant,

[0072] [Fig 3] Figure 3 schematically shows an example of implementation of the invention according to its second variant,

[0073] [Fig 4] Figure 4 schematically illustrates the data and functions used to implement the invention according to its third variant,

[0074] [Fig 5] Figure 5 schematically shows an example of implementation of the invention according to its third variant,

[0075] [Fig 6] Figure 6 illustrates a scheme of implementation of the invention according to its fourth variant,

[0076] [Fig 7] Figure 7 schematically illustrates the data used to implement the example of Figure 8,

[0077] [Fig 8] Figure 8 shows a first example of implementation of the invention applied to the verification of software packages,

[0078] [Fig 9] Figure 9 shows a second example of implementation of the invention applied to the verification of software packages,

[0079] [Fig 10] Figure 10 schematically illustrates devices and data used to implement the example of Figure 11 ,

[0080] [Fig 11] Figure 11 illustrates an example of implementation of the invention applied to increasing the security of Internet browsers,

[0081] [Fig 12] Figure 12 schematically shows devices and data used to implement the exampleof Figure 13, and

[0082] [Fig 13] Figure 13 shows an example of implementation of the invention applied to increasing the security of emails.

[0083] [Fig 14] Figure 14 shows an embodiment of the invention, whereby a digital signature is created by sharing a random hash between more than two parties.Detailed description

[0084] Figure 1 schematically shows data and functions used to implement the invention according to its first or its second variant, in which a message 101 must be sent by a device A to a device B via a data transmission channel 109, which channel may be secure or unsecure.

[0085] The device A may be a personal computer or a smartphone, and the device B an email server, the message 101 for example being an email sent by the computer or the phone via the Internet.

[0086] The device A may also be a server sending an email or a webpage, the device B then being a personal computer or a smartphone receiving said email or web page.

[0087] The device A may even be a measuring apparatus, for example for measuring the consumption of electricity, of gas or of water, or for measuring the wear of a part in a machine, the message 101 then being the result of such a measurement, and the device B a server that gathers the measurements and communicates with the measuring apparatus via a telecommunications network, for example an Internet of things, a Wi-Fi network or an LTE network.

[0088] The devices A and B may also be personal computers or smartphones.

[0089] The device A may be a web browser, the device B a web server and the message 101 a form filled in by the user of the browser A, the reception of the message not needing to be differentiated with respect to its transmission.

[0090] The devices A and B may each be equipped with a processor for executing the steps of the method according to the invention, and with a memory for saving the data required for this execution.

[0091] The device B has available to it encryption / decryption data 102B, such as a private key.

[0092] The device A has available to it encryption / decryption data 102A, such as the publickey associated with the private key 102B.

[0093] The device A also has available to it encryption / decryption data 103 A, such as a private key associated with a public key 103B present in the device B.

[0094] The devices A and B possess random-number generators 104A and 104B, respectively, a common mixing function 105 A, 105B and a common hash function 106 A, 106B.

[0095] The devices A and B also have encrypting functions 107A and 107B, respectively, and decrypting functions 108 A and 108B, respectively.

[0096] Figure 2 illustrates an example of implementation of the method according to the first variant of the invention.

[0097] In step 201, a first number, used to identify the message 101, is generated by the device A. It may optionally be generated using the random-number generator 104A.

[0098] In step 202, the first number is added to the message 101. This addition may be a concatenation in any order defined by the communication protocol used between the two devices.

[0099] In step 203, the device A sends the data resulting from step 202 to the device B via the data transmission channel 109.

[0100] In step 204, on reception of the data, the device B randomly generates a second number using the random-number generator 104B .

[0101] In step 205, the device B makes use of the mixing function 105B to mix the second number with the message 101. By way of example, this mixing function is an XOR operating between the bits of the second number and the same number of bits of the message 101. The mixing function 105 is known by the device A.

[0102] In step 206, the device B uses the hash function 106 to hash the data obtained in the preceding step. The device B also uses the public encryption key 103B and the encrypting function 107B, to encrypt the second number.

[0103] In step 207, the device B sends to the device A via the channel 109 the first number and the encrypted second number.

[0104] In step 208, on reception of the two numbers, the device A decrypts the second number using the private encryption key 103 A associated with the public key 103B that was necessarily used for the encryption, and the decryption function 108A associated with the encryption function 107B. If the second number was not encrypted by the device B, its decryption will be erroneous. With the first number, the device A is able to identify the message 101, and to mix, using themixing function 105, the decrypted second number with the identified message 101.

[0105] In step 209, the device A uses the hash function 106A to hash the data resulting from the preceding step.

[0106] In step 210, the device A uses the private encryption key 103 A and the encrypting function 107 A to encrypt the hash obtained in the preceding step.

[0107] In step 211, the device A sends the encrypted hash to the device B via the channel 109.

[0108] In step 212, on reception of the encrypted hash, the device B decrypts it using the public encryption key 103B associated with the private key 103 A that was necessarily used for the encryption, and the decrypting function 108B associated with the encrypting function 107A.

[0109] In step 213, the device B compares the decrypted hash obtained in step 212 with the hash computed in step 206. If the two hashes are identical, the device B concludes that the message 101 has not been altered.

[0110] Preferably, the second number used in the mixing must be kept secret until the hashes have been compared to carry out the verification, but this mixer number may be revealed before, if it is possible to trust the devices that compute the hashes so that the data are not modified between the moment at which the mixer number is revealed and the comparison of the hashes.

[0111] Figure 3 illustrates a second example of implementation of the method according to the second variant of the invention, the message 101 needing to be sent by the device A to the device B .

[0112] The devices A and B may be personal computers or smartphones, and the message 101 may be an email.

[0113] The devices A and B may be neighboring automobiles, the exchanged data then being information relating to their movements, and the connection being achieved via a data link between the two vehicles, for example a 5G link, a Low-Energy Bluetooth link, an ultrahigh frequency RFID link, a Lora link or a Sigfox link.

[0114] In step 301, a random number is generated by the device A, using the random number generator 104 A.

[0115] In step 302, the device A mixes the message 101 with the random number using the mixing function 105 A.

[0116] In step 303, the device A hashes the mixed data resulting from the preceding step, using the hash function 106.

[0117] In step 304, the device A encrypts the hash obtained in the preceding step using the encrypting function 107A and the private encryption key 103A.

[0118] In step 305, the device A encrypts the random number using the encrypting function 107A and the public encryption key 102A.

[0119] In step 306, the message 101, the encrypted random number and the encrypted hash are sent to the device B via the transmission channel 109, using the communication protocol agreed between the two devices.

[0120] In step 307, on reception of the data, the device B uses the decrypting function 108B and the public encryption key 103B to decrypt the hash, and the private encryption key 102B to decrypt the random number.

[0121] The device B is thus able to authenticate the device A.

[0122] In step 308, the device B mixes the message 101 with the random number, using the mixing function 105B.

[0123] In step 309, the device B hashes the mixed data resulting from the preceding step, using the hash function 106B.

[0124] In step 310, the device B compares the hash that it computed with the decrypted hash, and makes a conclusion as regards the integrity of the message 101.

[0125] In this example, the device B may forward the data received from device A to a third device. The device B decrypts, using the private key 102B the random number that it received from the device A before encrypting it again using the public key of the third device. The device B then transmits, to the third device, the encrypted random number and the hash encrypted by the device A. The third device, which has available to it the public key of the device A, will be able to verify that this hash indeed came from the device A, insofar as the device B did not modify the hash encrypted by the device A. A given dataset may therefore be verified as authentic by many users. This option however exposes the security of the certification, a fraudulent device being able to decrypt the random number, and potentially modify the message so that it has the same random hash as the initial hash. This implementation is therefore preferably used to certify the communication between computer systems formed from elements protected against such a fraudulent use.

[0126] Figure 4 schematically illustrates the data and functions required to implement the invention according to its third variant, to verify that a file 401 A present on a device A isidentical to a file 40 IB present on a device B.

[0127] The devices A and B communicate via a transmission channel 409 A, 409B that is for example a Wi-Fi network.

[0128] The device A possesses a random-number generator 404A.

[0129] The devices A and B have in common a mixing function 405 A, 405B, a hash function 406A, 406B and a symmetric encryption key 410A, 410B.

[0130] The device B has available to it an encrypting function 407B .

[0131] The device A has available to it a decrypting function 408A.

[0132] Figure 5 illustrates a third example of implementation of the method according to the third variant of the invention.

[0133] In step 501, a random number is generated in device A using the random-number generator 404.

[0134] In step 502, a modified copy of the file 401 A is created using the mixing function 405 A and the random number.

[0135] In step 503, the modified copy of the file 401 A is hashed using the hash function 406A.

[0136] In step 504, the random number is encrypted using a symmetric encrypting algorithm and the symmetric encryption key 410A, and is sent to the device B via the transmission channel 409A.

[0137] In step 505, on reception of the encrypted random number, the device B decrypts it and uses it in a mixing function 405B to create a modified copy of the file 401B. By decrypting the random number, the device B can verify the identity of the device A.

[0138] In step 506, the modified copy of the file 401B is hashed with the same hash function 406B.

[0139] In step 507, the hash of the modified copy is encrypted using the encrypting function 407B and the encryption key 410B.

[0140] In step 508, the encrypted hash is sent to the device A.

[0141] In step 509, on reception of the encrypted hash, the device A decrypts it using the decrypting function 408 A and the key 410A.

[0142] In step 510, the device A compares the decrypted hash to the hash that it calculated in step 503, and thus is able to verify whether the two files 401A and 401B are identical.

[0143] Figure 6 illustrates a fourth example of implementation of the method according tothe fourth variant of the invention, for verifying that a file has not been modified between two times dl and d2, while keeping completely secure between the two times a smaller dataset, this set comprising a number that is kept intact and secret and a hash that is kept intact and preferably secret.

[0144] In step 601, a random number is generated.

[0145] In step 602, at the time dl, a modified copy of the file is created using the generated random number and a mixing function, this function for example consisting in adding the random number to the end of the file.

[0146] In step 603, a hash of the modified copy is created, for example using the SHA2 function.

[0147] In step 604, the random number and the hash are stored securely and secretly, so that they cannot be modified and such that the random number is not disclosed to a third party.

[0148] In step 605, at the time d2, the person or the device having access to the information stored in step 604 desires to compare the file at the time d2 with the file used in steps 601 to 604. To do this, the saved random number is used to create a second modified copy of the file at the time d2, using the same mixing function as in step 602.

[0149] In step 606, a hash of the second modified copy is created using the same hash function as in step 603.

[0150] In step 607, the hash created in the preceding step is compared with the stored hash in order to ensure that the file has not been modified between the times dl and d2.

[0151] Figure 7 schematically illustrates the keys necessary to implement a fifth example, shown in Figure 8, of the method according to the invention applied to the verification of software packages.

[0152] In the rest of the description, the operation of mixing a datum with a random mixer number followed by the hashing operation will be referred to as "random hashing" of this datum.

[0153] The example shown in the Figure 8 is implemented between two devices: a device A called the software distributor and a device B called the client device.

[0154] Device A possesses two keys 701 and 702.

[0155] 701 is a key serving to encrypt a hash, and is preferably private.

[0156] 702 is a key serving to encrypt a random number, and is preferably public.

[0157] The device B possesses two keys 703 and 704.

[0158] 703 is a key used to decrypt a hash encrypted using the key 701, and is preferably public.

[0159] 704 is a key that is used to decrypt a random number encrypted using the key 702, and is preferably private.

[0160] The pair of keys (701, 703) is what may be called the pair of keys of the software distributor, the latter being able to use it to communicate with all the apparatuses on which one of the software packages that it distributes is installed.

[0161] The pair of keys (704, 702) is what may be called the pair of keys of the client, the latter being able to use it for all the software packages that it verifies during their download.

[0162] In step 801, the software distributor A carries out a random hashing of a software package to be transmitted to client B, in steps 301 to 305 described above with reference to Figure 3.

[0163] The software distributor A uses the key 702 to encrypt the random number and the key 701 to encrypt the random hash of the software package.

[0164] In step 802, the software distributor A sends, to the client B, a dataset containing the software package, the encrypted hash of the software package and the encrypted random number, over a transmission line that may be secure or unsecure.

[0165] In step 803, on reception of the data set, the client B decrypts the hash with the key 703 and the random number with the key 704. The client B then uses the random number to carry out the random hashing of the received software package.

[0166] In step 804, if the computed hash is identical to the received hash, the client B permits the execution of the received software package, or replaces the preceding version of the software package with the version that it has just received.

[0167] In step 805, for greater security, steps 803 and 804 are re-executed at pre-programmed time intervals in order to verify the authenticity of the software package

[0168] Figure 9 describes another possible implementation of the random hashing, for verifying that the software package in the process of being downloaded is permitted by a software package in the process of being executed on an apparatus.

[0169] In step 901, the apparatus uses the method illustrated in Figure 2 to verify that a received software package originates from a reliable source.

[0170] In step 902, steps 601 to 604 of Figure 6 are executed to create, in the apparatus, a secure signature of the software package.

[0171] In step 903, before using the software package, steps 605 to 607 of Figure 6 are executed to verify that the software package has not been modified since step 902.

[0172] Figure 10 shows the objects necessary to implement the example illustrated in Figure 11, allowing the security of data displayed by web browsers to be increased.

[0173] A web browser 1001 has available to it a pair of asymmetric keys that consist of a private key 1002p and a public key 1002u.

[0174] A server 1003s, which delivers to the browser the public keys of secure Internet sites 1004s, possesses pair of asymmetric keys 1003 consisting of a private key 1003p and a public key 1003u.

[0175] The Internet site 1004s possesses a pair of asymmetric keys 1004 consisting of a private key 1004p and a public key 1004u.

[0176] It step 1101, a user enters, into the address bar of the browser 1001, the URL address of the site that he desires to consult.

[0177] In step 1102, the browser 1001 uses the pair of keys 1002 and sends, to the server 1003s, the following information: the URL address of the site that the user desires to consult, the public key 1002u of the browser, and the URL address of the browser 1001 so that the server can respond thereto.

[0180] In step 1103, the server 1003s uses the method according to the invention illustrated in Figure 2 to securely send to the browser the public key 1004u of the site 1004s.

[0181] The public key 1002u will be used by the server to decrypt the second number that the navigator sends thereto during the exchanges.

[0182] In step 1104, the browser 1001 sends to the site 1004s the following information: the name of the page of the site that the user desires to consult, the public key 1002u of the browser, and the URL address of the browser so that the site can respond thereto.

[0183] In step 1105, the server 1004s uses the method according to the invention illustrated in Figure 2 to send to the browser securely the requested page.

[0184] Figure 12 shows the objects required to implement the example illustrated in Figure 13, which allows the security of emails to be increased.

[0185] A first electronic device A, which may possibly be a computer or a smart phone, allows emails 1200 taking the form of electronic files to be sent, received, archived, edited and displayed.

[0186] This first device A has access to a pair of asymmetric keys 1201c consisting of a public key 1201u and a private key 1201p.

[0187] A second electronic device B allows emails 1200 to be sent, received, archived, edited and displayed.

[0188] This second device B has access to a pair of asymmetric keys 1202c consisting of a public key 1202u and a private key 1202p.

[0189] A server 1203 gathers the identification numbers and the public keys of electronic devices, such as A and B, certified to preserve the integrity of received emails and the confidentiality of the random numbers associated with the random hashing method according to the invention.

[0190] The server 1203 has access to a pair of keys 1203c consisting of a public key 1203u and of a private key 1203p. It will be noted that this server may have a plurality of pairs of keys, each pair dedicated to the communication with one clearly defined electronic device.

[0191] A server 1204 associates the one or more electronic devices with the destination address 1205 of the email.

[0192] The server 1204 has access to a pair of keys 1204c consisting of a public key 1204u and of a private key 1204p. It will be noted that this server may have a plurality of pairs of keys, each dedicated to communication with one clearly defined electronic device.

[0193] In step 1301, a user requests that the first device A send the email 1200 to the destination address 1205.

[0194] In step 1302, the first device A communicates with the server 1204, the public key of which it knows, using the method according to the invention illustrated in Figure 2, in order to determine the identifier and the public key of the device B associated with the address 1205. After authentication of the first device A by the server 1204, the latter sends to the first device A the identifier and the public key of the device B. This is also done using the method illustrated in Figure 2, the server 1204 knowing the public key of the device A and the latter knowing the public key of the server 1204. This method allows the device A to receive, from the server 1204, unmodified data. The server 1204 will itself have been able to obtain the public key of the device B from the server 1203 and, at the same time, to verify the public key of the device A.

[0195] In step 1303, the first device A communicates its identifier to the device B.

[0196] In step 1304, the device B, having received the identifier communicated in step 1303, communicates with the server 1203 in order to determine the public key of the first device A. This information is sent thereto using the method of Figure 2, which allows the device B to receive unmodified information. The device B informs the device A of the reception of this information by sending thereto a reception acknowledgement.

[0197] In step 1305, on reception of the reception acknowledgement sent in step 1304, the first device A uses the method according to the invention illustrated in Figure 2 to send the email 1200 to the device B, which may then be certain that this information was sent by the device A and has been received unaltered. In addition, the device A is certain to have certified this information only with the device B.

[0198] Figure 14 schematically shows data and functions used to implement the described invention according to a variant where a digital signature is created by sharing a random hash / signature between more than two parties. In this method, a random hash / signature is created, pursuant to any of the processes described above. However, the encryption key, or secret key, may be shared between more than two parties, in order to create a random hash / signature. This digital signature may be used for at least one broadcast (Broadcast 1 1406, Broadcast 2 1407, Broadcast n 1412, etc.) for broadcasting or transmitting messages or data. In some embodiments, some or all of these broadcasts may be simultaneous. Such simultaneous broadcast is implemented, for example, through a radio emitter.

[0199] In some embodiments, the digital signature may comprise an encrypted hash of the message or data, wherein the message or data is mixed with a secret number and the secret number may be a randomly generated number. The mixed data is hashed, wherein the hash is encrypted with a single use key. In other embodiments, the digital signature may comprise a hash of an encrypted message or data, wherein the message or data is mixed with a secret number and encrypted with a single use key, wherein the secret number and / or the single use key are randomly generated for each digital signature. The said secret numbers and / or single use keys may be generated before or after the message has been generated or transmitted. In some embodiments, the length of the secret number and single use key is greater than the length of the hash. In other embodiments, the length of the encryption key is zero. In a preferred embodiment, the length of the secret number, the length of the single use key, and the length of the hash are each equal to one another. In some embodiments, the second random number may be partially renewed for eachnew digital signature. For example, a portion of the second random number may be fixed while the remaining portion of the second random number is renewed after each use. In a preferred embodiment the second random number is not transmitted using an asymmetric encryption key, nor a symmetric encryption key.

[0200] In some embodiments, a random hashing of some data or message is carried out pursuant to one of the methods described above. This process creates a random hash / signature, which may be issued by at least one broadcaster (Broadcaster 1 1401, Broadcaster 2 1402, etc.) and transmitted by at least one broadcast (Broadcast 1 1407, Broadcast 2 1408, Broadcast n, etc.) to a variable set of receivers (Receiver 1 1403, Receiver 2 1404, Receiver n 1405, etc.). This set of receivers has the potential to be incredibly large, making this method of transmission ideal for large scale systems or publicly integrated systems. The at least one broadcast of the random hash / signature may be sent at a specific time, such that the at least one broadcast may include an associated time stamp. This process may involve the at least one broadcast of an encrypted hash, and be followed by the broadcast of the secret and the symmetric encryption key, or the onetime key used to generate the said encrypted hash

[0201] In some embodiments, the random hash / signature may be issued by at least one broadcast (Broadcast 1 1407, Broadcast 2 1408, Broadcast n 1409) by one broadcaster 1401, while the time stamp, secret, symmetric encryption key, or single use key may be issued by a second at least one broadcast (Broadcast 3 1410, Broadcast 4 1411, Broadcast n 1412) using a second, separate, broadcaster 1402. Similarly, in some embodiments, the secret, the symmetric encryption key or single use key may be shared with the receivers or sent to the receivers by a third party issuer, separate from any broadcaster. This third party may or may not have communicated with a broadcaster about the establishment of a symmetric encryption key or single use key. In any of the descriptions of this method herein, the separate third party issuer may serve as a stand in for one of the described broadcasters.

[0202] In some embodiments, the broadcaster 1401 may send by at least one broadcast (Broadcast 1 1407, Broadcast 2 1408, Broadcast n 1409) a first dataset to a set of receivers (Receiver 1 1403, Receiver 2 1404, Receiver n 1405, etc.), and may send by the at least one broadcast an associated random hash / signature to the same set of receivers, a first random hash / signature. Then, after a first set time lag, the same broadcaster 1401 or a second broadcaster 1402 may transmit by a second at least one broadcast (Broadcast 3 1410, Broadcast 4 1411,Broadcast n 1412, etc.) the secret number and the symmetric encryption key or single use key as a second dataset. The at least one broadcast and the second at least one broadcast of the random hash / signature, the secret number, the symmetric encryption key, or the single use key may be sent using a peer-to-peer network system. The second at least one broadcast of a second dataset may also be associated with a random hash / signature, a second random hash / signature, which may accompany or be sent separately from the second at least one broadcast. The second random hash / signature may be created for each individual receiver. The second random hash / signature may be created for each individual second dataset, or alternatively be created for a group of more than one second dataset. There may exist a set time delay between the sending of the first random hash / signature and the sending of the secret, the symmetric encryption key or single use key used to create such said random hash / signature. The second dataset set may be transmitted by the second at least one broadcast as encrypted by a single use key, a symmetric key or the public key of an asymmetric key pair, or the private key of an asymmetric key pair, or in clear. In a preferred version, and in order to minimize the use of single use keys shared between the receivers and the second broadcaster, the second datasets are sent in clear to the set of receivers after a time delay after the first random hash signature has been sent, and the second random hash signatures are created for groups of transmitted datasets.

[0203] In some embodiments, after receipt of the first random hash / signature, or the second random hash / signature, a set of receivers (Receiver 1 1403, Receiver 2 1404, Receiver n 1405, etc.) may be able to verify that the original broadcasted dataset is authentic, by verifying it has received the first random hash signature before the second dataset was sent and by comparing the first random hash / signature to the random hash / signature created using the second dataset received from the second broadcaster 1402 and verifying the digital signature of the message associated with the second dataset. These comparisons may be accomplished by the various decryption and verification methods described above, and may leverage the calculation of the digital signature of the first dataset. A successful comparison of the two may indicate the authenticity of the originally broadcasted dataset.

[0204] In some embodiment, more than one first random hash / signature may be issued, their respective secret numbers and hash encryption keys being sent to the set of receivers (Receiver 1 1403, Receiver 2 1404, Receiver n 1405, etc.) after different time delays for each receiver. This would enable some of the set of receivers to verify the authenticity of the first dataset withouthaving to wait excessively for the time delays to have elapsed - should they have received the first dataset and its associated random hash / signature quickly, while enabling the rest of the set of receivers to verify the authenticity of the first dataset even if they receive the said first dataset and associated first random hash / signature after one of the short time delays used for sending the second dataset.

[0205] In some embodiments, the data to be certified may be issued with two or more random hash / signatures, each random hash signature being computed with secrets and encryption keys shred with different parties. This would enable a trusted third party to certify the authenticity of the first dataset sent by a first user to a second user has not been sent by the second user to the first user as first and second users might have shred the sale secret and encryption key prior to sending the dataset.

[0206] In some embodiments, some mechanism may be leveraged to track the time at which the second broadcaster 1402 transmitted the symmetric encryption key and the single use key by the second at least one broadcast (Broadcast 3 1410, Broadcast 4 1411, Broadcast n 1412, etc.), which may leverage the time stamp generated after the first broadcaster’s at least one broadcast (Broadcast 1 1407, Broadcast 2 1408, Broadcast n 1409), or which may leverage the set time delay, in order to present detailed information on the timing of any of the at least one broadcast or second at least one broadcast used within this method. Information derived from the tracked timings may be used to add an additional layer of security to the process, or may be used for data logging purposes.

[0207] In some embodiments, the random hash / signature is renewed for each transmission 1407, 1408, 1409 of a first dataset, in order to add an extra layer of security, should one of the receivers 1403, 1404, 1405 be susceptible to be compromised.

[0208] In some embodiments, a set of receivers (Receiver 1 1403, Receiver 2 1404, Receiver n 1405, etc.) may maintain an internal clock, which may be synchronized with whatever clock may be used for creating time stamps or calculating the set time delay. In this implementation, the interval of the set time delay should be made to be longer than the imprecision of the synchronization between the various clocks within the system, lest the imprecision create inconsistencies within the tracking of the at least one broadcast and the second at least one broadcast.

[0209] In some embodiments, the computation of the second random / signature of will be lessresource intensive than the computation of the first random hash / signature, which may be done just once. The original dataset may be large in file size, making the separation of the information into different broadcasts preferable from an efficiency standpoint. The same secret number or the same single use key used for computing the digital signature may be used for different datasets, preferably the encryption keys being unique to each dataset if a same secret number is used for many datasets, and the secret numbers being unique to each dataset if the same encryption key is used for many datasets; however the already used secret numbers and encryption keys are preferably sent as a second dataset, to be sent a set time delay after the last dataset for which any of these secret numbers or encryption keys were used to compute the random hash signature of the said different datasets.

[0210] As stated above, in some embodiments, any of the above broadcasts (Broadcast 1 1406, Broadcast 2 1407, Broadcast n 1412, etc.) may be sent via a peer-to-peer network system, which may utilize a variety of different methods of transmission, such as internet connections, radio connections, device to device transmission, etc.

[0211] The above described method of creating a digital signature may be used to certify data created by indoor GPS systems, where a signature is required in order to verify the provenance of some radio transmitted signals and information, or may be used for certifying the transmission of public radio or television broadcasts. This method is particularly well suited for large scale transmissions to multiple different receiving parties, due to the improvements in efficiency it creates by reducing the overall size of the data on which individual random hashes need to be computed, as compared to creating random hash signatures for every broadcasted dataset for each receiver 1403, 1404, 1405, while creating a safeguards for the entire network, even if one of the receivers 1403, 1404, 1405 is compromised. In some embodiments, if the number of receivers 1403, 1404, 1405 is appropriately large, the number of broadcasters 1401, 1402 may be scaled up accordingly.

[0212] In some embodiments, if one receiver 1403, 1404, 1405 is compromised, the compromised receiver 1403, 1404, 1405 may be disconnected from the broader network, in order to ensure the security of the network at large. Alternatively, identifying the compromised receiver 1403, 1404, 1405 may prompt one of the broadcasters 1401, 1402 to submit new transmissions in order to re-verify the security of said receiver 1403, 1404, 1405, or initiate its reinitialization.

[0213] In some embodiments, a receiver 1403, 1404, 1405 may verify that its associated clock issynchronized with a broadcaster 1401, 1402 by making a time stamp of the local time at the receiver 1403, 1404, 1405, sending this time stamp to the broadcaster 1401, 1402, and having the broadcaster 1401, 1402 reciprocate with its own time stamp. Either side of the transmission 1406, 1407, 1408, 1409, 1410, 1411, 1412 may then be able to shift its clock based on the difference between the compared time stamps, improving the time uncertainty between broadcasters 1401, 1402 and receivers 1403, 1404, 1405. In some embodiments, any time stamp transmissions may be encrypted by methods described herein.

[0214] In some embodiments, there may exist a method for verifying, with an apparatus, a broadcast originating from a first user, the method comprising: receiving, using one or more computing device processors, a broadcast, the broadcast comprising a first dataset, and a first dataset signature, wherein the broadcast was sent by the first user; creating a first time stamp receiving, using the one or more computing device processors, a first randomly generated number, wherein the randomly generated number is based on a random number generator; receiving a first encryption key; receiving a second time stamp; obtaining, using the one or more computing device processors, and based on a mixing function, a first mixed data, wherein the mixing function comprises mixing the first randomly generated number with the first dataset; generating, using the one or more computing device processors, and based on a hash function, a first hash, wherein the first hash is a result of the hash function being applied to the first mixed data; encrypting the first hash with the said first encryption key to form a first encrypted hash; verifying that the first encrypted hash is associated with the first dataset signature; verifying that the second time stamp corresponds to a set time lag after the first time stamp, as calculated by the one or more computing device processors; verifying, using the one or more computing device processors, a second dataset signature, which accompanies the reception of the first randomly generated number, the reception of the first encryption key and the reception of the second time stamp; and certifying, using the one or more computing device processors and the second dataset signature, the authenticity of the first randomly generated number, the first encryption key and second time stamp.

[0215] In some embodiments, there may exist a method wherein the first randomly generated number and the first encryption key are transmitted to a receiver.

[0216] In some embodiments, there may exist a method wherein the receiver compares an internal clock number to the clock number used to generate the first time stamp, wherein the clocks are synchronized to a level of uncertainty smaller than the set time lag.

[0217] In some embodiments, there may exist a method wherein the verifying that the first encrypted hash is associated with the first dataset signature occurs during a time-out period and wherein the method further comprises ignoring the verification attempt or placing the verification attempts in a queue after a predetermined number of unsuccessful attempts.

[0218] In some embodiments, there may exist a method wherein the verifying that the first encrypted hash is associated with the first dataset signature is re-executed at a predetermined time interval.

[0219] In some embodiments, there may exist a method wherein the first randomly generated number is not changed between multiple iterations of the method and whereby the said first randomly generated number is not sent before a second set time lag after the last first data signatures have been sent .

[0220] In some embodiments, there may exist a method with an apparatus, a broadcast originating from a first user, the method comprising: receiving, using one or more computing device processors, a broadcast, the broadcast forming a first dataset, and wherein the broadcast was sent by the first user; generating, using the one or more computing device processors, a first randomly generated number, wherein the first randomly generated number is based on a random number generator; obtaining, using the one or more computing device processors, and based on a mixing function, a first mixed data, wherein the mixing function comprises mixing the first randomly generated number with the first dataset; generating, using the one or more computing device processors, and based on a hash function, a first hash, wherein the first hash is a result of the hash function being applied to the first mixed data; generating using the one or more computing device processors a firsts onetime encryption key and encrypting the fists hash with the first single use encryption key to form a first encrypted hash, transmitting, using the one or more computing device processors, the first encrypted hash to a series of receivers; making a second time stamp, generating, using the one or more computing device processors, a second dataset, which comprises the first randomly generated number, the first single use key and single use key and second time stamp; generating, using the one or more computing device processors, a second randomly generated number and a second single used key, generating a second mixed data where the sent dataset is mixed with the second secret number and a second hash where a hash function is applied to the second mixed data and an encrypted second hash where the second hash is encrypted withthe second single use key; transmitting, using the one or more computing device processors, the second dataset and the second encrypted hash to a receiver;

[0221] In some embodiments, there may exist a method wherein, the series of receivers compares an internal clock number to the clock number used to generate the second time stamp, wherein the internal clock number and the second time stamp generators are synchronized to a level of uncertainty smaller than the time lag.

[0222] In some embodiments, there may exist a method wherein the verifying that the first encrypted hash is associated with the first dataset signature occurs during a time-out period and wherein the method further comprises ignoring the verification attempt or placing the verification attempts in a queue after a predetermined number of unsuccessful attempts.

[0223] In some embodiments, there may exist a method wherein the verifying if the result from decrypting the first hash using the second dataset is re-executed at a predetermined time interval.

[0224] Since encrypting methods employing asymmetric keys and symmetric keys may be vulnerable to quantum computers, these encrypting methods may be replaced, in the examples described above, with encrypting methods using single-use keys.

[0225] This application incorporates by reference U.S. Patent Application No. 18 / 606,564, filed on March 15, 2024, U.S. Patent Application No. 16 / 934,376, filed on July 21, 2020, U.S. Patent Application No. 16 / 793,123, filed on February 18, 2020, now U.S. Patent No. 11,914,754, issued on February 27, 2024, French Patent Application No. 1901648 filed on February 19, 2019.

[0226] The invention is not limited to the examples of embodiments described above, nor to the exemplified applications. The invention may in particular be used to increase the security of financial transactions.

Claims

Claims1. A method for verifying, with an apparatus, a broadcast originating from at least one first computing device associated with a first user, the method comprising: receiving, using one or more hardware computing device processors, a broadcast from the at least one first computing device associated with a first user, wherein the broadcast comprises a first dataset and a first dataset signature; generating, using the one or more hardware computing device processors, a first time stamp associated with the reception of the first dataset signature; receiving, using the one or more hardware computing device processors, a first randomly generated number from the at least one first computing device, wherein the first randomly generated number is generated using a random number generator; receiving, using the one or more hardware computing device processors, from the at least one first computing device, a second time stamp associated with the reception of the first randomly generated number; executing, using the one or more hardware computing device processors, a mixing computing operation based on the first randomly generated number and the first dataset; generating, using the one or more hardware computing device processors, a first mixed data based on the execution of the mixing computing operation; executing, using the one or more hardware computing device processors, a hash computing operation based on the first mixed data; generating, using the one or more computing device processors, a first hash based on the execution of the hash computing operation; receiving, using the one or more hardware computing device processors, a first encryption key from the at least one first computing device; encrypting, using the one or more hardware computing device processors, the first hash with the first encryption key, thereby generating a first encrypted hash; determining or verifying, using the one or more hardware computing device processors, an association between the first encrypted hash and the first dataset signature; determining, using the one or more hardware computing device processors, a difference between the first time stamp and the second time stamp;determining or verifying, using the one or more hardware computing devise processors, the difference is greater than a predetermined time lag; receiving, using the one or more hardware computing devise processors, a second electronic signature from the at least one first computing device; and determining or verifying, using the one or more hardware computing device processors, an authenticity of each of the first randomly generated number, the first encryption key, and the second time stamp.

2. The method of Claim 1, wherein the first randomly generated number, the first encryption key, and the second time stamp are transmitted from at least one broadcaster to at least one receiver.

3. The method of Claim 2, wherein the at least one receiver comprises an internal clock, wherein the internal clock is synchronized with the one or more hardware computing device processors with a margin of error less than the predetermined time lag, and the at least one receiver compares an internal clock time stamp to the second time stamp.

4. The method of to Claim 1, wherein the determining that the first encrypted hash is associated with the first dataset signature occurs during a time-out period.

5. The method of Claim 4 further comprising: ignoring a determination attempt for determining that the first encrypted hash is associated with the first dataset signature or placing the determination attempt in a queue after a first number of unsuccessful determination attempts.

6. The method of Claim 1 , wherein the determining that the first encrypted hash is associated with the first dataset signature is re-executed at a predetermined time interval.

7. The method of Claim 1, wherein the first randomly generated number is not changed between a first determination attempt for determining that a first encrypted hash is associated with the first dataset signature and a second determination attempt for determining that a second first encrypted hash is associated with a second first dataset signature.

8. A method for verifying, with an apparatus, a broadcast originating from at least one first computing device associated with a first user, the method comprising:transmitting, using at least one first computing device, a broadcast, wherein the broadcast comprises a first dataset; generating, using one or more hardware computing device processors, a first randomly generated number, wherein the first randomly generated number is generated using at least one random number generator; executing, using the one or more hardware computing device processors, a mixing computing operation based on the first randomly generated number and the first dataset; generating, using the one or more hardware computing device processors, a first mixed data based on the execution of the mixing computing operation; executing, using the one or more hardware computing device processors, a first hash computing operation based on the first mixed data; generating, using the one or more hardware computing device processors, a first hash based on the execution of the first hash computing operation; generating, using the at least one random number generator, a first encryption key; encrypting, using the one or more hardware computing device processors, the first hash with the first encryption key, thereby generating a first encrypted hash; generating, using the one or more hardware computing device processors, a second time stamp associated with a predetermined time lag; transmitting, using the one or more hardware computing device processors, the first encrypted hash; receiving, using the one or more hardware computing device processors, a second randomly generated number and a second encryption key; executing, using the one or more hardware computing device processors, the mixing computing operation based on the second randomly generated number and a second dataset, thereby generating a second mixed data, wherein the second dataset comprises the first randomly generated number, the first encryption key, and the second time stamp; executing, using the one or more hardware computing device processors, a second hash computing operation based on the second mixed data; generating, using the one or more computing device processors, a second hash based on the execution of the second hash computing operation;encrypting, using the one or more hardware computing device processor, the second hash with the second encryption key, thereby generating a second encrypted hash; transmitting, using the one or more hardware computing device processors, the second dataset to at least one receiver from the at least one first computing device after the second time stamp; and transmitting, using the one or more hardware computing device processors, the second encrypted second hash to the at least one receiver from the at least one first computing device.

9. A method for verifying, with an apparatus, a broadcast originating from a first computing device associated with a first user, the method comprising: receiving, using one or more hardware computing device processors, a broadcast from a first computing device associated with a first user, wherein the broadcast comprises a first dataset; receiving, using the one or more hardware computing device processors, a first signature from the first computing device; generating, using the one or more hardware computing device processors, a first time stamp associated with the reception of the first signature; receiving, using the one or more hardware computing device processors, a first randomly generated number and a first encryption key from the at least one first computing device; receiving, using the one or more hardware computing device processors, a second time stamp associated with the reception of the first randomly generated number and the first encryption key from the at least one first computing device; executing, using the one or more hardware computing device processors, a mixing computing operation based on the first randomly generated number and the first dataset, thereby generating a first mixed data; executing, using the one or more hardware computing device processors, a first hash computing operation based on a first hash function and the first mixed data, thereby generating a first hash; encrypting, using the one or more hardware computing device processors, the first hash with the first encryption key, thereby resulting in a first encrypted hash; determining or verifying, using the one or more hardware computing device processors, an association between the first time stamp and the second time stamp,wherein the first time stamp precedes the second time stamp by a predetermined time lag; determining or verifying, using the one or more hardware computing device processors, an association between the first signature and the first encrypted hash; retrieving, using one or more hardware computing device processors, a second randomly generated number and a second encryption key from the at least one first computing device; executing, using one or more hardware computing device processors, the mixing computing operation based on the second randomly generated number, the first randomly generated number, the first encryption key, and the second time stamp, thereby generating a second mixed data; executing, using one or more hardware computing device processors, a second hast computing operation based on a second hash function and the second mixed data, thereby generating a second hash; encrypting, using the one or more hardware computing device processors, the second hash with the second encryption key, thereby resulting in a second encrypted hash; receiving, using the one or more hardware computing device processors, a second signature; and determining or verifying, using the one or more hardware computing device processors, an association between the second signature and the second encrypted hash.

10. The method of Claim 8, wherein the at least one receiver comprises an internal clock, wherein the internal clock is synchronized with the one or more hardware computing device processors with a margin of error less than the predetermined time lag, and the receiver compares an internal clock time stamp to the second time stamp.

11. The method according to Claim 9, wherein the determining that the first encrypted hash is associated with the first signature occurs during a time-out period.

12. The method of Claim 10 further comprising: ignoring a determination attempt for determining that the first encrypted hash is associated with the first signature or placing the determination attempt in a queue after a first number of unsuccessful determination attempts.

13. The method of Claim 9, wherein at least one of the determining that the first encrypted hash is associated with the first signature and the determining that the second encrypted hash is associated with the second signature is re-executed at a predetermined time interval.

14. The method of Claim 8, wherein at least one of the encrypting the first hash and the encrypting the second hash uses and XOR function.

15. The method of Claim 9, wherein at least one of the encrypting the first hash and the encrypting the second hash uses and XOR function.

16. The method of Claim 8, wherein the first randomly generated number is used for the first dataset and at least one more different first dataset, wherein the second time stamp is used for both the first dataset and the at least one more first dataset.

17. The method of Claim 8, wherein the second randomly generated number is used for the first data and at least one more different first dataset.

18. The method of Claim 14, wherein a length of the randomly generated number is equal to a length of the first encryption key, wherein the length of the randomly generated number is further equal to a length of the first hash.

19. The method of Claim 8, wherein a third signature comprising an asymmetric encryption key is transmitted together with the first encrypted hash20. The method of Claim 8, wherein a third signature associated with the first dataset comprises an asymmetric encryption key, wherein an association between the third signature and the first encrypted hash is determined or verified using the one or more hardware computing device processors.

21. The method according to Claim 1 , wherein a length of the first encryption key is zero.

22. The method according to Claim 8, wherein a length of the first encryption key is zero.

23. The method according to Claim 8, wherein a length of the second encryption key is zero and the second randomly generated number is partially renewed.

24. The method according to Claim 22, wherein a length of the second encryption key is zero and the second randomly generated number is partially renewed..

25. The method according to Claim 22 wherein the second randomly generatednumber is not transmitted with encryption using an asymmetric keys.

26. The method according to Claim 23 wherein the second randomly generated number is not transmitted with encryption using an asymmetric keys.

27. The method according to Claim 24, wherein the second randomly generated number is partially renewed for the second electronic signature.

28. The method according to Claim 9, wherein a length of the first encryption key is zero.

29. The method according to Claim 9, wherein a length of the second encryption key is zero and the second randomly generated number is partially renewed..

30. The method according to Claim 28, wherein a length of the second encryption key is zero and the second randomly generated number is partially renewed..

31. The method according to claim 28 wherein the second randomly generated number is not transmitted with encryption using an asymmetric keys.

32. The method according to claim 29 wherein the second randomly generated number is not transmitted with encryption using an asymmetric keys.

33. The method according to claim 30, wherein the second randomly generated number is partially renewed for the second electronic signature.

34. The method according to claim 1, wherein a length of the first randomly generated number is greater than a length of the first hash.

35. The method according to claim 8, wherein a length of the first randomly generated number is greater than a length of the first hash.

36. The method according to claim 8, wherein a length of the second randomly generated number is greater than a length of the second hash.

37. The method according to claim 9, wherein a length of the first randomly generated number is greater than a length of the first hash.

38. The method according to claim 9, wherein a length of the second randomly generated number is greater than a length of the second hash.

Citation Information

Patent Citations

  • Cryptographic method for verifying data

    US11914754B2

  • Cryptographic method for verifying data

    US20200351100A1

  • Cryptographic method for verifying data

    US20240250826A1

  • Timestamp processing method and apparatus

    CN107147501A

  • Internet calling method and device

    CN107426452A