US20230231835A1
2023-07-20
18/186,130
2023-03-17
Cryptographic methods and systems for key exchange, digital signature and zero-knowledge proof. In the digital signature scenario, there is provided a method of signing a digital document, comprising: obtaining a private cryptographic key associated with the signer; obtaining a digital asset from the digital document; selecting a base data element; computing a plurality of signature data elements from (i) the digital asset, (ii) the base data element and (iii) the private cryptographic key; and transmitting the digital document and the plurality of signature data elements to a recipient over a data network. Provenance of the digital document is confirmable by the recipient carrying out a predefined computation involving the digital document, the signature data elements, a plurality of noise variables and a public cryptographic key corresponding to the private cryptographic key associated with the signer. In the zero-knowledge proof scenario, the digital asset plays the role of a challenge data element.
Get notified when new applications in this technology area are published.
H04L63/0442 » CPC main
Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
H04L9/3247 » CPC further
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
H04L9/0618 » CPC further
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols the encryption apparatus using shift registers or memories for block-wise coding, e.g. DES systems Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
H04L9/3026 » CPC further
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols; Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy underlying computational problems or public-key parameters details relating to polynomials generation, e.g. generation of irreducible polynomials
H04L9/0825 » CPC further
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols; Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords; Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use; Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
H04L9/3218 » CPC further
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using proof of knowledge, e.g. Fiat-Shamir, GQ, Schnorr, ornon-interactive zero-knowledge proofs
H04L2209/08 » CPC further
Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication Randomization, e.g. dummy operations or using noise
H04L9/40 IPC
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols Network security protocols
H04L9/32 IPC
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
H04L9/06 IPC
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols the encryption apparatus using shift registers or memories for block-wise coding, e.g. DES systems
H04L9/30 IPC
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
H04L9/08 IPC
arrangements for secret or secure communications Cryptographic mechanisms or cryptographic ; Network security protocols Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
The present application is a divisional of U.S. application Ser. No. 17/691,295, filed on Mar. 10, 2022, which is a continuation-in-part of PCT International Application No. PCT/CA2021/050319, filed on Mar. 10, 2021, hereby incorporated by reference herein. U.S. application Ser. No. 17/691,295 also claims the benefit of U.S. Provisional Application Ser. No. 63/214,511, filed on Jun. 24, 2021; U.S. Provisional Application Ser. No. 63/235,457, filed on Aug. 20, 2021; and U.S. Provisional Application Ser. No. 63/252,292, filed on Oct. 5, 2021; all of which are hereby incorporated by reference herein.
The present application relates generally to cryptographic methods and systems and, more particularly to methods and systems for cryptographic key exchange, digital signature and zero-knowledge proof that offer improved security against cracking attempts, even by quantum computers.
One application of cryptography is digital encryption involving two parties that use respective digital keys to encrypt digital data that they wish to send to one another. For example, each party may securely store a private key that corresponds to a public key. The public key is made available to other parties (potential senders), but the private key is kept secret. One of the parties acting as a sender of a message can access the other party's (i.e., the recipient's) public key, encrypt the message and send a ciphertext to the recipient. The recipient uses the corresponding (and secretly stored) private key to decrypt the message from the ciphertext.
The private key and the corresponding public key are intertwined in a complex mathematical relationship that is difficult to guess, yet any hypothesis as to the nature of this relationship can be easily tested. As a result, unless one has the correct private key, decryption of the data is difficult; however, it not impossible. In fact, malicious parties throughout the world specialize in reverse engineering mathematical relationships (an act known as âcrackingâ) to obtain a âcracked keyâ. A cracked key is any key that can be used to successfully decrypt a message encrypted with the recipient's public key. In that sense, a cracked key can correspond to the private key but might also be one of possibly several other keys that lead to the same result.
The difficulty of cracking a private key in today's private/public key infrastructure is a function of various factors, such as the complexity of the mathematical relationship, the key length (in bits) and a malicious party's available computing power. The greater the key length and the more complex the mathematical relationship, the more difficult it will be to crack the private key. However, with the advent of quantum computing, the security of a private key previously believed to be uncrackable is now in doubt. Thus, mathematical relationships have to become more complex and keys need to be made even longer in order for the security of the private key to keep up with increases in computing power available to malicious parties.
However, increases in mathematical complexity and key length are counterproductive, as they lead to increases in latency and computational effort. In fact, the mathematical complexity and key lengths required in order to make a private key palatably secure in the face of quantum computing efforts at cracking it would bring digital communication over the internet to a standstill.
Figuratively speaking, the cure is worse than the disease.
Another application of cryptography is a digital signature, which is used in the case where the recipient of a message purportedly sent by a particular sender wishes to verify that the message was truly sent by the particular sender and not by someone else. Accordingly, a digital signature is generated (at the sender) by processing the message and a private key of the sender.
The message (as well as the signature) may be non-confidential in nature, with the goal of the digital signature application being to verify the identity of a purported sender of the message rather than the concealment of information. (In some cases, however, the message may itself be encrypted and therefore may require decryption once provenance is confirmed.)
The private key of the sender is designed to have a mathematical relationship with a public key of the sender, which is made available to potential recipients. (The situation is the reverse from encryption application, where the sender uses the recipient's public key to encrypt a message.) The digital signature generated by the sender may accompany or be part of the message sent to the recipient.
At the recipient, the received message and the received signature (purported to have been sent by a particular sender) are used, together with the public key of the particular sender, for verification purposes. This is referred to as the verification process. The verification process generates a certain outcome in the case where the received message was truly sent by the particular sender, and to not generate that certain outcome otherwise. As such, the sender is sometimes referred to as a âsignerâ and the recipient is sometimes referred to as a âverifierâ.
The mathematical relationship is chosen such that, if the particular's sender's private key were indeed used to generate the digital signature, then when the recipient runs the received message, the public key of the given sender and the digital signature through a computation (derived from the aforementioned mathematical relationship), a certain expected outcome will be produced, whereas this outcome would not be produced if another private key had been used to generate the digital signature.
The level of confidence in the result of the verification process depends on how difficult it is to steal or reverse engineer (i.e., âcrackâ) the particular sender's private key. A cracked key does not necessarily match the private key itself, but rather may correspond to a key that is able to produce a âfakeâ digital signature that leads to the expected outcome when the fake digital signature is run through the computation used in the verification process.
The ability to verify the identity of a purported sender depends, in part, on the recipient being able to access the purported sender's public key from a trusted third-party repository. In contrast, situations arise where a sender wishes to prove that it has knowledge of a secret datum (e.g., knowledge an identity, or knowledge a keyâsuch as the private key corresponding to a public key of an entity that the sender is purporting to be) without ever revealing that datum, and without participation of a third party. This application of cryptography is referred to as the âZero-Knowledge Proofâ (ZKP) application, which is useful in scenarios where authenticity of a sender needs to be verified, but where there is no access to a trusted third party.
Typical ZKP applications of cryptography employ a challenge-and-response protocol, whereby a recipient issues a challenge to a sender (who is trying to prove that they have knowledge of a secret datum), and the sender answers with a response. The challenge is designed to elicit a certain response if the sender has knowledge of the datum and a certain other response otherwise. As the number of challenges increases, it becomes increasingly unlikely that the sender would continue to issue, each time, a response consistent with having knowledge of the datum unless the sender truly did have knowledge of the datum.
It will be appreciated that the challenge-and-response protocol used in a typical ZKP application may require numerous iterations before the recipient has a sufficiently high degree of confidence that the sender has knowledge of the datum. The sheer number of required iterations may make the protocol unacceptably slow in some commercially important situations, such as financial transactions or access control.
Against this background, there has been developed an encryption technique that is more difficult to crack, is computationally simple and has low latency.
Accordingly, there is provided a method of operating a sender computing apparatus to securely transmit a digital asset to a recipient over a data network. The method includes obtaining a public key of the recipient corresponding to a private key of the recipient; selecting a plurality of noise variables; computing a plurality of different ciphers from (i) the digital asset, (ii) the noise variables and (iii) the public key of the recipient; and transmitting the plurality of ciphers to the recipient over the data network, the digital asset being derivable by carrying out a predefined computation involving the plurality of ciphers and the recipient's private key.
There has also been developed a digital signature verification scheme that is more difficult to crack, is computationally simple and has low latency.
Accordingly, there is provided a method of operating a computing apparatus to authenticate a received message purportedly sent by a given sender, the message comprising a digital asset and a digital signature, the digital signature comprising a plurality of data elements. The method includes obtaining a public key of the given sender; selecting a plurality of noise variables; computing a plurality of data elements based on the digital asset, the noise variables and the public key of the purported sender; evaluating whether the computed data elements and the data elements of the digital signature obey a predetermined relationship; and in case the predetermined relationship is obeyed, concluding that the message was sent by the given sender, otherwise, concluding that the message was not sent by the given sender.
Accordingly, there is provided a method of operating a computing apparatus to authenticate a received message purportedly sent by a given sender, the message comprising a digital asset and a digital signature, the digital signature comprising a plurality of data elements. The method includes obtaining a public key of the given sender; selecting a plurality of noise variables; computing a plurality of data elements based on the digital asset, the noise variables, and the public key of the purported sender; evaluating whether the computed data elements and the data elements of the signature obey a predetermined relationship; in case the predetermined relationship is not obeyed, concluding that the message was not sent by the given sender. In case the predetermined relationship is obeyed the method includes selecting a plurality of new noise variables; computing a plurality of new data elements based on the digital asset, the new noise variables and the public key of the purported sender; evaluating whether the computed new data elements and the data elements of the signature obey the predetermined relationship; in case the predetermined relationship is not obeyed, concluding that the message was not sent by the given sender; in case the predetermined relationship is obeyed, concluding that the message was sent by the given sender.
There has further been developed is a ZKP protocol that requires only a single iteration between sender and recipient, is more difficult to crack, is computationally simple and has low latency.
Accordingly, there is provided a method of operating a computing apparatus to verify that a given sender has knowledge of a secret, the given sender being associated with a public key. The method includes generating a test data element; sending the test data element to the given sender; receiving a response from the sender, the response comprising a digital signature; selecting a plurality of noise variables; computing a plurality of data elements based on the test data element, the noise variables and the public key of the given sender; evaluating whether the computed data elements and the data elements of the digital signature obey a predetermined relationship; in case the predetermined relationship is obeyed, concluding that the given sender has knowledge of the secret, otherwise, concluding that the given sender does not have knowledge of the secret.
Accordingly, there is provided a method of operating a computing apparatus to verify that a given sender has knowledge of a secret, the given sender being associated with a public key. The method includes generating a test data element; sending the test data element to the given sender; receiving a response from the sender, the response comprising a digital signature; selecting a plurality of noise variables; computing a plurality of data elements based on the test data element, the noise variables and the public key of the given sender; evaluating whether the computed data elements and the data elements of the digital signature obey a predetermined relationship. In case the predetermined relationship is obeyed the method includes selecting a plurality of new noise variables; computing a plurality of new data elements based on the test data element, the new noise variables and the public key of the given sender; evaluating whether the computed new data elements and the data elements of the digital signature obey the predetermined relationship; in case the predetermined relationship is obeyed, concluding that the given sender has knowledge of the secret, otherwise, concluding that the given sender does not have knowledge of the secret.
There is also provided a non-transitory computer-readable storage medium comprising computer-readable instructions which, when read and executed by a processor of a computing apparatus, cause the computing apparatus to carry out any of the methods disclosed herein.
Furthermore, there is provided a computing apparatus comprising: a processor; and a non-transitory memory storing computer-readable instructions. The processor is configured for reading and executing the computer-readable instructions in the memory, thereby to cause the computing apparatus to carry out any of the methods disclosed herein.
FIG. 1 is a block diagram illustrating two computing apparatuses engaged in digital communications.
FIG. 2 is a flowchart showing steps in an example key generation process for determining the components of a recipient's private and public keys, in accordance with a non-limiting embodiment.
FIG. 3 is a flowchart showing steps in an example encryption process, in accordance with a non-limiting embodiment.
FIG. 4 is a flowchart showing steps in an example decryption process, in accordance with a non-limiting embodiment.
FIGS. 5A and 5B are signal flow diagrams illustrating a digital signature process, in accordance with different non-limiting embodiments.
FIG. 6 is a flowchart showing steps in an example key generation process, in accordance with a non-limiting embodiment.
FIG. 7 is a flowchart showing steps in an example signing process, in accordance with a non-limiting embodiment.
FIG. 8 is a flowchart showing steps in an example verification process, in accordance with a non-limiting embodiment.
FIG. 9 is a signal flow diagram illustrating a digital signature process, in accordance with a non-limiting embodiment.
FIG. 10 is a block diagram illustrating various elements of a computing apparatus, in accordance with a non-limiting embodiment.
FIG. 11 is a flowchart showing steps in an example method of operating a sender computing apparatus to securely transmit a digital asset to a recipient over a data network in accordance with a non-limiting embodiment.
FIG. 12 is a flowchart showing steps in an example method of operating a computing apparatus to authenticate a received message purportedly sent by a given sender in accordance with a non-limiting embodiment.
FIG. 13 is a flowchart showing steps in an example method of operating a computing apparatus to authenticate a received message purportedly sent by a given sender, in accordance with a non-limiting embodiment.
FIG. 14 is a flowchart showing steps in an example method of operating a computing apparatus to verify that a given sender has knowledge of a secret, in accordance with a non-limiting embodiment.
FIG. 15 is a flowchart showing steps in an additional embodiment of an example method of operating a computing apparatus to verify that a given sender has knowledge of a secret, in accordance with a non-limiting embodiment.
Use Case 1: Encryption
With reference to FIG. 1, a specially designed cryptographic key pair (or simply âkey pairâ) can be used in an asymmetric cryptography scenario between a sender (hereinafter an âencryptorâ) 10 and a recipient 20. The encryptor 10 encrypts a digital asset 30 into an encrypted message (also referred to as a ciphertext) 70 using the recipient's âpublic keyâ 40. In various non-limiting embodiments, the digital asset 30 may be a file, a document or a key (such as may be used for encryption of a subsequent digital asset). The recipient's public key 40 can be made available (e.g., transmitted over the Internet or another data network 60 or combination of networks) to entities (such as the encryptor 10) who wish to securely communicate with the recipient 20. The recipient 20 decrypts the digital asset 30 from the encrypted message 70 using the recipient's âprivate keyâ 50.
Due to special design of the key pair 40, 50 and the use of noise variables 80 (as will be described herein below), the private key 50 is extremely difficult to obtain from the public key 40, even after observing multiple encrypted messages 70. This makes the present encryption scheme highly secure.
Design of Key Pair
FIG. 2 shows a key generation process 200 for determining the components (data elements) of the recipient's private and public keys, in accordance with a non-limiting embodiment. The key generation process 200 may be carried out by a key generation entity. The key generation entity could be implemented within the recipient 20 itself, but could also be implemented by a third party that publishes the recipient's public key 40 and guarantees secure delivery of the recipient's private key 50 to the recipient 20 (e.g., out-of-band or via manual delivery). The steps in the key generation process 200 include various sub-steps, and not all steps or sub-steps need be performed in the order described.
Step 210:
Step 220:
B(x0,x1, . . . , xm)=ÎŁi=0nbi(x1, . . . , xm)x0
Step 230:
f(x0)=Σj=0λfjx0j
h(x0)=ÎŁj+0λx0âČ
Step 240:
Step 250:
Step 260:
Step 270:
Step 280:
Encryption Using Public Key
Armed with the public key 40 as defined above, the encryptor 10 may perform an encryption process 300 in accordance with a non-limiting embodiment, now described with reference to FIG. 3. The steps in the encryption process 300 include various sub-steps, and not all steps or sub-steps need be performed in the order described.
Step 310:
Step 320:
Step 330:
Step 340:
Step 350:
Decryption Using Private Key
In order to decrypt the digital asset x0, the recipient 20 (which stores the private key 50 corresponding to the public key 40 used by the encryptor 10) may perform a decryption process 400 in accordance with a non-limiting embodiment, now described with reference to FIG. 4. The steps in the decryption process 400 include various sub-steps, and not all steps or sub-steps need be performed in the order described.
Step 410:
Step 420:
V âą 1 = p 0 + N 0 R 0 âą f 0 + P âČ R p + N n R n âą f λ ,
V âą 2 = q 0 + N 0 R 0 âą h 0 + Q âČ R q + N n R n âą h λ ,
Step 430:
V ⹠1 V ⹠2 * h ⥠( x ) - f ⥠( x ) = 0 .
Decryption is now complete: the recipient 20 declares solution to above equation (which should be an integer) as being the digital asset x0 that was the subject of the encryption process 300.
The decrypted digital asset x0 can be communicated via a graphical user interface, encoded in a signal sent over a data network or stored in a non-transitory memory.
In the case where the above equation (at step 430) has more than one integer-valued solution (for example, two real integer roots if it is a quadratic, two or three real integer roots if it is a cubic), then it is likely that only one of these solutions will make sense in view of the communications context, and it is considered a straightforward task to discriminate between a potential solution that makes sense and one that does not. For example, one simple non-limiting way to ensure that the right choice is made, is to format the digital asset by pre-appending a flag to it and then treating the formatted digital asset as the secret to be encrypted. The flag can be simply generated by XORing each byte each other of the digital asset in encryption and verified in the decryption. The one root that passes the flag verification is then considered to be the digital asset.
Those skilled in the art will appreciate that steps 420 and 430 may be collapsed into a single arithmetic expression involving the plurality of ciphers (data elements of the ciphertext) and the data elements of the private key 50.
It should also be appreciated that the values of m, n and p are predetermined and known to the encryptor 10 and the recipient 20 for the purposes of a given instantiation of the encryption process 300 and the decryption process 400.
Explanation of how it Works
p 0 + N 0 R 0 âą f 0 + P âČ R p + N n R n âą f λ
q 0 + N 0 R 0 âą h 0 + Q âČ R q + N n R n âą h λ ,
V ⹠1 V ⹠2 = P ⥠( x 0 , x 1 , ⊠, x m ) Q ⥠( x 0 , x 1 , ⊠, x m ) .
P ⥠( x 0 , x 1 , ⊠, x m ) Q ⥠( x 0 , x 1 , ⊠, x m ) = f ⥠( x 0 ) h ⥠( x 0 )
V ⹠1 V ⹠2 = f ⥠( x 0 ) h ⥠( x 0 ) ,
V ⹠1 V ⹠2 * h ⥠( x 0 ) - f ⥠( x 0 ) = 0 .
V ⹠1 V ⹠2 * h ⥠( x ) - f ⥠( x ) = 0 .
Security Analysis for Use Case 1
It will be appreciated that the values of x1, . . . , xm (i.e, the noise variables) do not affect the decryption process 400 if the correct private key 50 is used, but they make it all the more difficult for someone who does not have the private key 50 to derive it from the public key 40 and the ciphertext 70.
The complexity of obtaining the private key 50 from the public key 40 can be determined as follows:
[ p âą 1 p âą 2 p âą 3 p âą 4 p âą 5 ] = [ f âą 1 f âą 0 0 0 0 f âą 2 f âą 1 f âą 0 0 0 0 f âą 2 f âą 1 f âą 0 0 0 0 f âą 2 f âą 1 f âą 0 0 0 0 f âą 2 f âą 1 ] [ b âą 0 b âą 1 b âą 2 b âą 3 b âą 4 ]
b â = [ b âą 0 b âą 1 b âą 2 b âą 3 b âą 4 ] = [ f âą 1 f âą 0 0 0 0 f âą 2 f âą 1 f âą 0 0 0 0 f âą 2 f âą 1 f âą 0 0 0 0 f âą 2 f âą 1 f âą 0 0 0 0 f âą 2 f âą 1 ] - 1 [ p âą 1 p âą 2 p âą 3 p âą 4 p âą 5 ]
T b = [ b âą 1 b âą 0 0 0 0 b âą 2 b âą 1 b âą 0 0 0 b âą 3 b âą 2 b âą 1 b âą 0 0 b âą 4 b âą 3 b âą 2 b âą 1 b âą 0 0 b âą 4 b âą 3 b âą 2 b âą 1 ]
[ h âą 0 h âą 1 h âą 2 0 0 ] = [ b âą 1 b âą 0 0 0 0 b âą 2 b âą 1 b âą 0 0 0 b âą 3 b âą 2 b âą 1 b âą 0 0 0 b âą 3 b âą 2 b âą 1 b âą 0 0 0 b âą 3 b âą 2 b âą 1 ] - 1 [ q âą 1 q âą 2 q âą 3 q âą 4 q âą 5 ]
Turning now to the issue of the size of the public key, private key and cipher in Use Case 1 (in terms of the number of data elements over GF(p)), the following will be noticed:
Use Case 2: Digital Signature
Digital signatures have a wide variety of commercial applications, including the signed transmission of certificates or keys from a certification authority. Another application of digital signatures is the establishment of a sender's identity when sending digital files, messages, legal documents or electronic funds (including digital fiat currency and decentralized currency such as Bitcoin and other cryptocurrencies). Digital signatures are also used to access, add to, modify or confirm elements of a blockchain database in various financial, industrial, commercial and consumer applications.
In this use case, now described with reference to a first variant in FIG. 5A, an entity (referred to as a âverifierâ) 550 wishes to verify that a received digital asset 520, purportedly sent by a given sender, was indeed sent by the given sender. Assuming this to be the case, the sender 510 (referred to as a âsignerâ) will have generated a digital signature 530 by signing the digital asset 520 with a private key 540 (that is part of a specially designed private/public key pair 540, 570 associated with the signer 510). The signer 510 then sends the digital asset 520 and the signature 530 to the verifier 550.
The verifier 550 receives both the digital asset 520 and the digital signature 530. The digital signature 530 is purported to have come from the signer 510, but the verifier 550 must verify this to be true. As such, the verifier 550 carries out a verification process on the received digital asset 520 and the accompanying digital signature 530. The verification process involves evaluating mathematical expressions based on (i) the received digital asset 520, (ii) the public key 570 associated with the signer 510 and (iii) a set of ânoise variablesâ 580. Such noise variables 580 are selected by the verifier 550 at its discretion and without involving the signer 510. The verifier 550 then checks whether the mathematical expressions correspond. If so, the verifier 550 concludes that the signer 510 is the true originator of the received digital asset 520, otherwise, the verifier 550 concludes that the received digital asset 520 was not sent by the signer 510.
The variant of FIG. 5B is similar to the variant of FIG. 5A, except that it shows the digital asset 520 being generated from a message 522, both at the signer 510 and the verifier 530. This derivation of the digital asset 520 from the message 522 can be done using a cryptographic hash function, for example. As such, in this variant, it is the message 522 that is sent with the digital 530 signature, which means that the digital asset 520 is not explicitly sent from the signer 510 to the verifier 530, but rather is implicitly sent, in the sense that it can be derived from the message at either end.
Design of Key Pair
The signer's private/public key pair 540, 570 is specially designed so that regardless of the values selected by the verifier 550 for the noise variables 580, the mathematical expressions computed as part of the verification process will always corresponds. Conversely, a single instance of non-correspondence of the mathematical expressions will be taken as a sign that the digital signature 530 was not sent by the signer 510.
As a result, even if a malicious party (spoofer) creates a digital signature which somehow causes the computed mathematical expressions to correspond, there is close to zero probability that this would occur a second time if the mathematical expressions were re-computed based on a different set of noise variables (which, it is recalled, are controlled by the verifier 550, not the signer 510). Without the signer's private key 540, it is virtually impossible for the spoofer to derive a âfake signatureâ that would result in mathematical correspondence to be maintained for an arbitrary set of noise variables. Yet this is precisely what happens if the correct private key 540 is used.
To illustrate this concept in more detail, FIG. 6 shows a key generation process 600 for determining the data elements of a signer's private and public keys, in accordance with a non-limiting embodiment. The key generation process 600 may be carried out by a key generation entity. The key generation entity could be integrated with the signer 510 itself, but it could also be a third party that guarantees secure delivery of the signer's private key 540 to the signer 510 (e.g., out-of-band or via manual delivery) and publishes the signer's public key 570 to interested entities (such as the verifier 550). The steps in the key generation process 600 include various sub-steps, and not all steps or sub-steps need be performed in the order described.
Step 610:
Step 620 (corresponds to step 220 in Use Case 1):
Step 630 (corresponds to step 230 in Use Case 1):
Step 640 (corresponds to step 240 in Use Case 1):
Step 650 (corresponds to step 250 in Use Case 1, with the added constraint that R0 and Rn should be even integers):
Step 660:
Step 670:
Step 680:
Signing of Digital Asset Using Private Key
Armed with the private key 540 as defined above, the signer 510 may perform a signing process 700 in accordance with a non-limiting embodiment, now described with reference to FIG. 7. The steps in the signing process 700 include various sub-steps, and not all steps or sub-steps need be performed in the order described.
Step 710:
Step 720:
Step 730:
Step 740:
Verifying Provenance of a Received Signature Using Public Key
Consider that the verifier 550 wishes to confirm that the digital asset xR, which can be derived from the received message and, from the verifier's point of view is merely purported to come from the signer 510, does truly come from the signer 510. Accordingly, the verifier 550 may perform a verification process 800 in accordance with a non-limiting embodiment, now described with reference to FIG. 8. The steps in the verification process 800 include various sub-steps, and not all steps or sub-steps need be performed in the order described.
Step 810:
Step 820:
Step 830:
Step 840:
Step 850:
The verification process 800 is thus complete. The outcome of the verification process 800 can be communicated via a graphical user interface, encoded in a signal sent over a data network or stored in a non-transitory memory.
It is noted that the conclusion reached at step 850 holds independently of the values of the noise variables x1, . . . , xm, which allows the verifier to re-run the above steps 810-850 for an entirely different set of noise variables, in case of any doubt as to the provenance of the message from which the received digital asset x0 was derived.
It should be appreciated that the values of m, n and p are predetermined and known to the signer 510 and the verifier 550 for the purposes of a given instantiation of the signing process 700 and the verification process 800.
Explanation of how it Works
Consideration is now given to explaining why it is the case that verification of the above mathematical relationship (step 850) serves as an authentication of provenance of the message from which digital asset x0 was derived, irrespective of the values of the noise variables x1, . . . , xm, despite the fact that the noise variables are chosen by the verifier 550 (and not the signer 510).
To this end, it is recalled that P(x0, x1, . . . , xm) was defined as B(x0, x1, . . . , xm)f(x0) and Q(x0, x1, . . . , xm) was defined as B(x0, x1, . . . , xm)h(x0). Therefore, from a mathematical standpoint:
P ⥠( x 0 , x 1 , ⊠, x m ) Q ⥠( x 0 , x 1 , ⊠, x m ) = f ⥠( x 0 ) h ⥠( x 0 )
This leads to:
R0Rnf(x0)Q(x0,x1, . . . ,xm)=R0Rnh(x0)P(x0,x1, . . . ,xm).[Equation (1)]
Now, since PâČ=ÎŁi=1n+λâ1xm)x0i and since pâČi(x1, . . . , xm)=R0[pi(x1, . . . , xm)âEpi], this means that R0Rnh(x0)P(x0, x1, . . . , xm) can be rewritten as:
R 0 âą R n âą h ⥠( x 0 ) âą P ⥠( x 0 , x 1 , ⊠, x m ) = R n âą h ⥠( x 0 ) âą ( R 0 âą P ⥠( x 0 , x 1 , ⊠, x m ) ) = R n âą h ⥠( x 0 ) âą ( R 0 [ P ⥠( x 0 , x 1 , ⊠, x m ) - E p âą i + E p âą i ) âą Recognizing âą that âą P ⥠( x 0 , x 1 , ⊠, x m ) = N 0 R 0 âą f 0 + p i ( x 1 , ⊠, x m ) + N n R n âą f λ , this âą continues âą as : = R n âą h ⥠( x 0 ) [ R 0 ( p i ( x 1 , ⊠, x m ) - E p âą i + E p âą i + N 0 R 0 âą f 0 + N n R n âą f λ ) = R n âą h ⥠( x 0 ) [ R 0 ( p i ( x 1 , ⊠, x m ) - E p âą i ) + R 0 ( E p âą i + N 0 R 0 âą f 0 + N n R n âą f λ ) ] = R n âą h ⥠( x 0 ) [ P âČ + R 0 ( E p âą i + N 0 R 0 âą f 0 + N n R n âą f λ ) ] = R n âą h ⥠( x 0 ) âą P âČ + R 0 âą R n âą h ⥠( x 0 ) âą ( E p âą i + N 0 R 0 âą f 0 + N n R n âą f λ ) = R n âą h ⥠( x 0 ) âą P âČ + R 0 âą R n âą h ⥠( x 0 ) âą E p âą i + R n âą h ⥠( x 0 ) âą N 0 âą f 0 + R 0 âą h ⥠( x 0 ) âą N n âą f λ .
Similarly, since QâČ=ÎŁi=1n+λâ1 qâČi(x1, . . . , xm)x0j, since qâČi(x1, . . . , xm)=Rn[qi(x1, . . . , xm)âEpi], P(x0, x1, . . . , xm), this means that R0Rnf(x0)Q(x0, x1, . . . , xm) can be rewritten as:
R0Rnf(x0)Q(x0,x1, . . . ,xm)=R0f(x0)QâČ+R0Rnf(x0)Eqi+R0f(x0)Nnf0+Rnf(x0)Nnfλ.
Therefore, Equation (1) can be rewritten as:
R0f(x0)QâČ+R0Rnf(x0)Eqi+R0f(x0)Nnf0+Rnf(x0)Nnfλ=Rnh(x0)PâČ+R0Rnh(x0)Epi+Rnh(x0)N0f0+R0h(x0)Nnfλââ[Equation (2)]
This can be reorganized it into:
f(x0)R0QâČ=h(x0)RnPâČ+s0(x0)N0+sn(x0)Nn+t(x0)ââ[Equation (3)]
where:
s0(x0)=Rn[h(x0)f0âf(x0)h0]
sn(x0)=R0[h(x0)fλâf(x0)hλ]
t(x0)=R0Rn[h(x0)Ep(x0)âf(x0)Eq(x0)]
Using modular exponentiation with base g (which, it is recalled, can be arbitrarily selected by the signer) over the Galois Field GF(p) or ring of integers: [2, 3, . . . , pâ1]:
gf(x0)R0QâČ mod Ï(p)=g[h(x0)RnPâČ+s0(x0)N0+sn(x0)Nn+t(x0)]mod Ï(p) mod p
or:
AQâČ mod Ï(p)=BPâČ mod Ï(p)CN0mod Ï(p)DNnmod Ï(p)E mod pââ [Equation (4)]
where
Or, we can simply rewrite Equation (4) as:
AQâČ=BPâČCN0DNnE[Equation (5)]
Equation (5) can be used by the verifier 550 (which receives the public key 570 comprising the coefficients necessary to calculate PâČ, QâČ, N0 and Nn) to verify whether the digital asset x0 was indeed signed by the signer 510.
It is noted that the elements of the digital signature A, B, C, D, E are only related to (i) the base g chosen arbitrarily by the signer 510, (ii) the digital asset x0 and (iii) data elements f(x0) and h(x0) of the private key. It is noted that the digital signature does not depend on the noise variables x1, . . . , xm. In other words, if the correct private key 540 was used to create the digital signature A, B, C, D, E for the digital asset x0, then Equation (5) will hold for all sets of noise variables x1, . . . , xm that could be chosen by the verifier 550. On the other hand, Equation (5) will not hold if the incorrect private key was used to generate the digital signature.
Security Analysis for Use Case 2
The complexity of obtaining the private key 540 from the public key 570 is as follows:
The complexity of obtaining the private key 540 from the signature 530 is as follows:
The complexity of spoofing is as follows:
Therefore, the overall complexity of Use Case 2 is the lowest among the above, namely O(q 2x(n+1)+1)=O(2log q+x(n+1)+1).
Turning now to the issue of the size of the public key and the private key in Use Case 2 (in terms of the number of data elements over GF(p)), the following will be noticed:
By way of specific example, the following shows the size of the public key, private key and digital signature for various numbers of noise variables (i.e., m=2 and m=3) and various orders of the multivariate base polynomial (i.e., n=2, n=4 and n=6), based on the formulas in the aforementioned table, while X is kept equal to 2:
| (n, λ, x, log q) | (2, 2, 32, 32) | (4, 2, 32, 32) | (6, 2, 32, 32) | (2, 2, 64, 64) |
| Complexity | O(2129): | O(2193): | O(2257): | O(2257): |
| O(2log q+x(n+1)+1) | Security level | Security level | Security level | Security level |
| âIâ | âIIIâ | âVâ | âVâ | |
| Size of public key for | 16 * 8 = 128 | 24 * 8 = 192 | 32 * 8 = 256 | 16 * 16 = 256 |
| m = 2 (bytes) | ||||
| Size of public key for | 24 * 8 = 192 | 36 * 8 = 288 | 48 * 8 = 384 | 24 * 16 = 284 |
| m = 3 (bytes) | ||||
| Size of private key | 12 * 8 = 96 | 16 * 8 = 128 | 20 * 8 = 160 | 12 * 16 = 192 |
| (bytes) | ||||
| Signature Size (bytes) | 80 | 120 | 160 | 160 |
Use Case 3: Zero-Knowledge Proof (ZKP)
In this use case, now described with reference to FIG. 9, a sender (or prover) 910 associated with a public key 920 of a public/private key pair wishes to prove to a recipient (or verifier) 930 that it has knowledge of the associated private key 940. The private key 940 can represent an identity, for example. If the public key 920 and the private key 940 are designed as described above for Use Case 2, a single-iteration ZKP scheme can be used.
In particular, the sender 910 sends to the recipient 930 a request 950 including the sender's public key 920 (public key can be pre-known by the recipient). The recipient 930 generates a challenge variable 960 and sends the challenge variable 960 to the sender 910. In response, the sender 910 generates a digital signature 970 from the challenge variable 960 and the private key 940, resulting in a digital signature 980 to be returned to the recipient as a response of the challenge.
The recipient 930 then evaluates two mathematical expressions based on (i) the challenge variable 960, (ii) the public key 920 that was received from the sender 910 and (iii) a set of ânoise variablesâ 990. Such noise variables 990 are selected by the recipient 930 at its discretion and without involving the sender 910. The recipient 930 then checks whether the two quantities on both sides of verification equation are identical. If so, the recipient 930 concludes, with a fairly high degree of certainty, that the sender 910 has knowledge of the private key 940, otherwise, the recipient 930 concludes that the sender 910 does not have knowledge of the private key 940.
To increase the degree of certainty, the recipient 930 can select a new set of noise variables and can again compute the two quantities to see if they are identical. This can be done on the recipient's end as many times as desired, for as many sets of noise variables as required, and without additional interaction with the sender 910.
Mathematically, Use Case 3 is the same as Use Case 2, but from an application standpoint, the role of x0 is different. Specifically, it is recalled that for Use Case 2 (digital signature), x0 is a digital asset to be signed and either explicitly (FIG. 5A) or implicitly (FIG. 5B) accompanies the signature (A, B, C, D, E) sent from the signer 510 to the verifier 550. In Use Case 3 (zero-knowledge proof, see FIG. 9), x0 represents a challenge variable sent from the recipient 930 to the sender 910, in response to which sender 910 sends the signature (A, B, C, D, E) to the recipient 930 in order to demonstrate that the sender 910 has knowledge of the private key 940. It is noted that the challenge-response need occur only once, and that to increase the degree of confidence that the sender 910 has knowledge of the private key 940, the recipient 930 need simply change the noise variables and re-run the computation (without further challenging or involving the sender 910).
As such, the ZKP scheme described above may provide a quantum-safe authentication protocol that usable for a wide range of applications including identity authentication in the absence of a trusted third party.
Accordingly, and with reference to FIG. 11, there has been provided a method 1100 of operating a sender computing apparatus to securely transmit a selected digital asset to a recipient over a data network. As shown at step 1110, the method includes obtaining a public key of the recipient corresponding to a private key of the recipient. As shown at step 1120, the method includes selecting a plurality of noise variables. As shown at step 1130, the method includes computing a plurality of different ciphers from (i) the selected digital asset, (ii) the noise variables and (iii) the public key of the recipient. As shown at step 1140, the method includes transmitting the plurality of ciphers to the recipient over the data network. Of note is the fact that the digital asset is derivable by carrying out a predefined computation involving the plurality of ciphers and the recipient's private key.
Also, and with reference to FIG. 12, there has been provided a method 1200 of operating a computing apparatus to authenticate a received message purportedly sent by a given sender, the message comprising a digital asset and a digital signature, the digital signature comprising a plurality of data elements. As shown at step 1210, the method includes obtaining a public key of the given sender. As shown at step 1220, the method includes selecting a plurality of noise variables. As shown at step 1230, the method includes computing a plurality of data elements based on the digital asset, the noise variables and the public key of the purported sender. As shown at step 1240, the method includes evaluating whether the computed data elements and the data elements of the digital signature obey a predetermined relationship. As shown at step 1240, in case the predetermined relationship is obeyed, concluding that the message was sent by the given sender, otherwise, concluding that the message was not sent by the given sender.
Also, and with reference to FIG. 13, there has been provided a method 1300 of operating a computing apparatus to authenticate a received message purportedly sent by a given sender, the message comprising a digital asset and a digital signature, the digital signature comprising a plurality of data elements. As shown at step 1310, the method includes obtaining a public key of the given sender. As shown at step 1320, the method includes selecting a plurality of noise variables. As shown at step 1330, the method includes computing a plurality of data elements based on the digital asset, the noise variables and the public key of the purported sender. As shown at step 1340, the method includes evaluating whether the computed data elements and the data elements of the signature obey a predetermined relationship. As shown at step 1350, in case the predetermined relationship is not obeyed, concluding that the message was not sent by the given sender. As shown at step 1360, in case the predetermined relationship is obeyed the method includes selecting a plurality of new noise variables. As shown at step 1370, the method includes computing a plurality of new data elements based on the digital asset, the new noise variables and the public key of the purported sender. As shown at step 1380, the method includes evaluating whether the computed new data elements and the data elements of the signature obey the predetermined relationship. As shown at step 1390, in the case the predetermined relationship is not obeyed, concluding that the message was not sent by the given sender. As shown at step 1395, in the case the predetermined relationship is obeyed, concluding that the message was sent by the given sender.
Also, and with reference to FIG. 14, there has been provided a method 1400 of operating a computing apparatus to verify that a given sender has knowledge of a secret, the given sender being associated with a public key. As shown at step 1410, the method includes generating a test data element. As shown at step 1420, the method includes sending the test data element to the given sender. As shown at step 1430, the method includes receiving a response from the sender, the response comprising a digital signature. As shown at step 1440, the method includes selecting a plurality of noise variables. As shown at step 1450, the method includes computing a plurality of data elements based on the test data element, the noise variables and the public key of the given sender. As shown at step 1460, the method includes evaluating whether the computed data elements and the data elements of the digital signature obey a predetermined relationship. As shown at step 1470, in the case the predetermined relationship is obeyed, concluding that the given sender has knowledge of the secret, otherwise, as shown at step 1480, concluding that the given sender does not have knowledge of the secret.
Also, and with reference to FIG. 15, there has been provided a method 1500 of operating a computing apparatus to verify that a given sender has knowledge of a secret, the given sender being associated with a public key. As shown at step 1510, the method includes generating a test data element. As shown at step 1520, the method includes sending the test data element to the given sender. As shown at step 1530, the method includes receiving a response from the sender, the response comprising a digital signature. As shown at step 1540, the method includes selecting a plurality of noise variables. As shown at step 1550, the method includes computing a plurality of data elements based on the test data element, the noise variables and the public key of the given sender. As shown at step 1560, the method includes evaluating whether the computed data elements and the data elements of the digital signature obey a predetermined relationship. As shown at step 1570, in the case the predetermined relationship is obeyed the method includes selecting a plurality of new noise variables. As shown at step 1580, the method includes computing a plurality of new data elements based on the test data element, the new noise variables and the public key of the given sender. As shown at step 1590, the method includes evaluating whether the computed new data elements and the data elements of the digital signature obey the predetermined relationship. As shown at step 1595, the method includes in case the predetermined relationship is obeyed, concluding that the given sender has knowledge of the secret, otherwise, as shown in step 1598, concluding that the given sender does not have knowledge of the secret.
The entities referred to above as âsenderâ, âencryptorâ, ârecipientâ, âsignerâ, âverifierâ, âdestinationâ, âkey generation entityâ and the like, which carry out the various encryption, decryption, signature, verification and ZKP methods and protocols described above, can be realized by computing apparatuses executing computer-readable program instructions stored on non-transitory computer-readable media. Such computing apparatuses could be any of a smartphone, laptop, desktop computer, tablet, mainframe, vehicle ECU or IoT (Internet-of-Things) device, to name a few non-limiting possibilities.
With reference to FIG. 10, various elements of a suitable computing apparatus are now described. The computing apparatus 1010 includes a computer-readable storage medium 1020, which can be a tangible device capable of storing program instructions for use by a processor 1030. The computer-readable storage medium 1020 may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer-readable storage medium 1020 includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer-readable storage medium, as used herein, does not include transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
The program instructions can be downloaded to the computer-readable storage medium 1020 from an external computer or external storage device via a network 1040, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network 1040 may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface 1050 in the computing apparatus 1010 receives program instructions over the network 1040 and forwards them to the computer-readable storage medium 1020 for storage and execution by the processor 1030. Execution of the program instructions by the processor 1030 results in the computing apparatus 1010 carrying out aspects of the present disclosure.
The program instructions may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the âCâ programming language or similar programming languages. In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the program instructions by utilizing state information to personalize the electronic circuitry, in order to carry out aspects of the present disclosure.
Aspects of the present disclosure are described herein with reference to flowcharts and block diagrams of methods and apparatus (systems), according to various embodiments. It will be understood that each block of the flowcharts and block diagrams, and combinations of such blocks, can be implemented by execution of the program instructions. Namely, the program instructions, which are read and processed by the processor 1030 of the computing apparatus 1010, direct the processor 1030 to implement the functions/acts specified in the flowchart and/or block diagram block or blocks. It will also be noted that each block of the flowcharts and/or block diagrams, and combinations of such blocks, can also be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The flowcharts and block diagrams illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the drawings. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
The descriptions of the various embodiments of the present disclosure have been presented for purposes of illustration and are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
It should be appreciated that throughout the specification, discussions utilizing terms such as âprocessingâ, âcomputingâ, âcalculatingâ, âdeterminingâ, âanalyzingâ or the like, can refer to the action and/or processes of a computer or computing system, or similar electronic computing device, that manipulate and/or transform data represented as physical, such as electronic, quantities into other data similarly represented as physical quantities.
As used herein, unless otherwise specified, the use of the ordinal adjectives âfirstâ, âsecondâ, âthirdâ, etc., to describe a common object or step, merely indicate that different instances of like objects or steps are being referred to, and are not intended to imply that the objects or steps so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
It is noted that various individual features may be described only in the context of one embodiment. The particular choice for description herein with regard to a single embodiment is not to be taken as a limitation that the particular feature is only applicable to the embodiment in which it is described. Various features described in the context of one embodiment described herein may be equally applicable to, additive, or interchangeable with other embodiments described herein, and in various combinations, groupings or arrangements. In particular, use of a single reference numeral herein to illustrate, define, or describe a particular feature does not mean that the feature cannot be associated or equated to another feature in another drawing figure or description.
Also, when the phrase âat least one of A and Bâ is used, this phrase is intended to and is hereby defined as a choice of A or B or both A and B, which is similar to the phrase âand/orâ. Where more than two variables are present in such a phrase, this phrase is hereby defined as including only one of the variables, any one of the variables, any combination of any of the variables, and all of the variables.
The foregoing description and accompanying drawings illustrate the principles and modes of operation of certain embodiments. However, these embodiments should not be considered limiting. Additional variations of the embodiments discussed above will be appreciated by those skilled in the art and the above-described embodiments should be regarded as illustrative rather than restrictive. Accordingly, it should be appreciated that variations to those embodiments can be made by those skilled in the art without departing from the scope of the invention.
1. A method of operating a computing apparatus to sign a digital document, comprising:
obtaining a private cryptographic key associated with the computing apparatus;
obtaining a digital asset from the digital document;
selecting a base data element;
computing a plurality of signature data elements from (i) the digital asset, (ii) the base data element and (iii) the private cryptographic key; and
transmitting the digital document and the plurality of signature data elements to a recipient over a data network;
wherein provenance of the digital document is confirmable by the recipient carrying out a predefined computation involving the digital document, the signature data elements, a plurality of noise variables and a public cryptographic key corresponding to the private cryptographic key associated with the computing apparatus.
2. The method defined in claim 1, wherein obtaining the digital asset from the digital document comprises executing a hash function on the digital document, the hash function being known to the recipient.
3. The method defined in claim 1, further comprising transmitting an identity of the computing apparatus to the recipient over the data network.
4. The method defined in claim 1, wherein the base data element represents an integer, wherein the plurality of signature data elements includes a first signature data element, wherein the method further comprises computing the first signature data element by (i) computing a first quantity from the digital asset and the private cryptographic key; and (ii) setting the first signature data element to equal the base data element to the power of said first quantity.
5. The method defined in claim 4, wherein the plurality of signature data elements includes a second signature data element, wherein the method further comprises computing the second signature data element by (i) computing a second quantity from the digital asset and the private cryptographic key; and (ii) setting the second signature data element to equal the base data element to the power of said second quantity.
6. The method defined in claim 5, wherein the plurality of signature data elements includes a third signature data element, wherein the method further comprises computing the third signature data element by (i) computing a third quantity from the digital asset and the private cryptographic key; and (ii) setting the third signature data element to equal the base data element to the power of said third quantity.
7. The method defined in claim 6, wherein the plurality of signature data elements includes a fourth signature data element, wherein the method further comprises computing the fourth signature data element by (i) computing a fourth quantity from the digital asset and the private cryptographic key; and (ii) setting the fourth signature data element to equal the base data element to the power of said fourth quantity.
8. The method defined in claim 7, wherein the plurality of signature data elements includes a fifth signature data element, wherein the method further comprises computing the fifth signature data element by (i) computing a fifth quantity from the digital asset and the private cryptographic key; and (ii) setting the fifth signature data element to equal the base data element to the power of said fifth quantity.
9. The method defined in claim 1, wherein the base data element is selected to be an integer greater than 2 but less than modulo p, where p is selected to be a prime number greater than 2.
10. The method defined in claim 9, wherein the digital asset is constrained to have a value between 0 and p.
11. The method defined in claim 10, wherein p is at least as great as 26, 28, 210, 212, 214, 216, 218, 220, 222 or 224.
12. The method defined in claim 1, further comprising encrypting the digital asset with a public key of the recipient before the transmitting.
13. A non-transitory computer-readable storage medium comprising computer-readable instructions which, when executed by a processing entity of a computing apparatus, cause the computing apparatus to carry out operations to sign a digital document, the operations including:
obtaining a private cryptographic key associated with the computing apparatus;
obtaining a digital asset from the digital document;
selecting a base data element;
computing a plurality of signature data elements from (i) the digital asset, (ii) the base data element and (iii) the private cryptographic key; and
transmitting the digital document and the plurality of signature data elements to a recipient over a data network;
wherein provenance of the digital document is confirmable by the recipient carrying out a predefined computation involving the digital document, the signature data elements, a plurality of noise variables and a public cryptographic key corresponding to the private cryptographic key associated with the computing apparatus.
14. A method of operating a computing apparatus to sign a digital asset, comprising:
obtaining a private cryptographic key associated with the computing apparatus;
selecting a base data element;
computing a plurality of signature data elements from (i) the digital asset, (ii) the base data element and (iii) the private cryptographic key; and
transmitting the digital asset and the plurality of signature data elements to a recipient over a data network;
wherein provenance of the digital asset is confirmable by the recipient carrying out a predefined computation involving the digital asset, the signature data elements, a plurality of noise variables and a public cryptographic key corresponding to the private cryptographic key associated with the computing apparatus.
15. A non-transitory computer-readable storage medium comprising computer-readable instructions which, when executed by a processing entity of a computing apparatus, cause the computing apparatus to carry out operations to sign a digital asset, the operations including:
obtaining a private cryptographic key associated with the computing apparatus;
selecting a base data element;
computing a plurality of signature data elements from (i) the digital asset, (ii) the base data element and (iii) the private cryptographic key; and
transmitting the digital asset and the plurality of signature data elements to a recipient over a data network;
wherein provenance of the digital asset is confirmable by the recipient carrying out a predefined computation involving the digital asset, the signature data elements, a plurality of noise variables and a public cryptographic key corresponding to the private cryptographic key associated with the computing apparatus.
16. A computing apparatus comprising:
a processor; and
a non-transitory memory storing computer-readable instructions;
the processor being configured for reading and executing the computer-readable instructions in the memory, thereby to cause the computing apparatus to carry out a method according to claim 1.
17. The method defined in claim 16, wherein obtaining the digital asset from the digital document comprises executing a hash function on the digital document, the hash function being known to the recipient.
18. The method defined in claim 16, further comprising transmitting an identity of the computing apparatus to the recipient over the data network.
19. The method defined in claim 16, wherein the base data element represents an integer, wherein the plurality of signature data elements includes a first signature data element, wherein the method further comprises computing the first signature data element by (i) computing a first quantity from the digital asset and the private cryptographic key; and (ii) setting the first signature data element to equal the base data element to the power of said first quantity.
20. The method defined in claim 19, wherein the plurality of signature data elements includes a second signature data element, wherein the method further comprises computing the second signature data element by (i) computing a second quantity from the digital asset and the private cryptographic key; and (ii) setting the second signature data element to equal the base data element to the power of said second quantity.