Arbitrated Quantum Digital Signature: Difference between revisions
(Add notations) |
(Add first part of Pseudo code) |
||
Line 51: | Line 51: | ||
* <math>|S\rangle_{k_{pri},m}</math>: Signature quantum state for message $m$ which is the quantum state | * <math>|S\rangle_{k_{pri},m}</math>: Signature quantum state for message $m$ which is the quantum state | ||
<math>|S\rangle_{k_{pri},m} = \bigotimes^{n}_{l=1} H^{k_{pub_l}\oplus k_{pri_l}} |\phi\rangle_{s_l,t_l\oplus m_l, m_l}</math> | <math>|S\rangle_{k_{pri},m} = \bigotimes^{n}_{l=1} H^{k_{pub_l}\oplus k_{pri_l}} |\phi\rangle_{s_l,t_l\oplus m_l, m_l}</math> | ||
* <math>|P\rangle</math>: Private key quantum state where <math>|P\rangle \in \{|+\rangle, |-\rangle, |1\rangle, |0\rangle\}^n</math> and it is the quantum state: | * <math>|P\rangle</math>: Private key quantum state where <math>|P\rangle \in \{|+\rangle, |-\rangle, |1\rangle, |0\rangle\}^n</math> and it is the quantum state: | ||
<math>|P\rangle := H^{k_{pri}}|\phi\rangle_{s, t\oplus m}</math> | <math>|P\rangle := H^{k_{pri}}|\phi\rangle_{s, t\oplus m}</math> | ||
* <math>P</math>: Classical 2n-bit for <math>n</math>-qubit <math>|P\rangle</math> where <math>|+\rangle</math> is encoded to 10, <math>|-\rangle</math> to 11, <math>|1\rangle</math> to 00 and <math>|0\rangle</math> is encoded to 01. | * <math>P</math>: Classical 2n-bit for <math>n</math>-qubit <math>|P\rangle</math> where <math>|+\rangle</math> is encoded to 10, <math>|-\rangle</math> to 11, <math>|1\rangle</math> to 00 and <math>|0\rangle</math> is encoded to 01. | ||
Line 72: | Line 68: | ||
* <math>Q</math>: Classical bit string denoted as <math>Q \in \{00, 01, 10, 11\}^n</math>. It is proven that <math>P=Q</math>. | * <math>Q</math>: Classical bit string denoted as <math>Q \in \{00, 01, 10, 11\}^n</math>. It is proven that <math>P=Q</math>. | ||
* <math>\delta</math>: <math>\langle F|F\rangle'</math>, where <math>\delta \in [0,1)</math>. | * <math>\delta</math>: <math>\langle F|F\rangle'</math>, where <math>\delta \in [0,1)</math>. | ||
==Hardware Requirements== | |||
* Secure quantum channel between Signer and Verifier | |||
* Quantum channel between Signer and PKG | |||
* Private database for both Signer and PKG | |||
* Measurement devices for the Verifier. | |||
==Properties== | |||
* The protocol assumes the PKG to be a trusted party. | |||
* This protocol cannot be broken even if the adversary had unlimited computing power. | |||
* In this protocol, it is proven that no adversary can break the secrecy of the Signer's signature private key. | |||
* The quantum digital signature produces in this protocol is impossible to repudiate and cannot be forged in any condition. | |||
* In the protocol the public and the private key belong to the classical bits, only the signature cipher has quantum nature. | |||
* No Certificate Authority is required to manage digital public-key certificate of Signers. | |||
* If <math>|F\rangle = |F'\rangle</math>, the measuring result <math>|0\rangle</math> occurs with probability 1, otherwise it occurs with probability <math>\frac{1+\delta^2}{2}</math>. Hence, when repeated for <math>w</math> times, the probability of equality is at least 1-<math>(\frac{1+\delta^2}{2})^w</math>. | |||
==Pseudo-Code== | |||
'''Stage 1''': Key Generation </br> | |||
'''Output''': Signer receives <math>k_{pri}</math> from the PKG. | |||
* <math>k_{pub}</math> is generated on the basis of Signer's public identity information like email or person ID-card. | |||
* PKG aquires <math>k_{pub}</math> through open channels. | |||
* PKG selects <math>G</math> randomly as its master key. | |||
* PKG selects <math>k_{r}</math> randomly. | |||
* PKG calculates <math>k_{pri}</math> as | |||
<div style="text-align: center;"><math>k_{pri} := G(k_{pub}) \oplus k_{r} </math></div> | |||
* PKG uses <math>k_{at}</math> to encrypt <math>k_{pri}</math> and transmits <math>E_{k_{at}}</math> to Signer. | |||
* Signer decrypts <math>E_{k_{at}}</math> using <math>k_{at}</math> and receives <math>k_{pri}</math>. | |||
'''Stage 2''': Signature</br> | |||
'''Output''': PKG receives the quantum digest <math>|F\rangle</math> and the Verifier receives the Signature <math>(ts, m, B_P,|S\rangle_{k_{pri}, m})</math> from the Signer. | |||
* Signer wants to sign the message <math>m</math>. | |||
* Signer selects <math>s</math> and <math>t</math>. | |||
* For <math>l = 1, 2, ...n</math>: | |||
** Signer generates the state <math>|\phi\rangle_{s_l,t_l\oplus m_l, m_l}</math>, which is: | |||
<div style="text-align: center;"><math> |\phi\rangle_{s_l,t_l\oplus m_l, m_l} = Y^{m_l}H^{s_l}U_{\frac{\pi}{4}}H^{t_l\oplus m_l}|0\rangle</math></div> | |||
* For <math>l = 1, 2, ...n</math>: | |||
** Signer generates the Signature quantum state <math>|S\rangle_{{k_{pri}}_l,m_l}</math>, which is | |||
<div style="text-align: center;"><math> |S\rangle_{{k_{pri}}_l,m_l} = H^{k_{pub_l}\oplus k_{pri_l}}|\phi\rangle_{s_l,t_l\oplus m_l, m_l}</math></div> | |||
* For <math>l = 1, 2, ...n</math>: | |||
** Signer generates the private key quantum state <math>|P\rangle_1</math>, which is | |||
<div style="text-align: center;"><math>|P\rangle_1 = H^{k_{pri_l}} |\phi\rangle_{s_l, t_l\oplus m_l}</math></div> | |||
** The classical <math>P_l</math> is calculated based on <math>|P\rangle_1</math>. | |||
** The basis set is formed by Signer is: | |||
<div style="text-align: center;"><math> B_{P_l} = Basis(|P\rangle_1) \in \{+,\times \} </math></div> | |||
* For <math>k = 1, 2, ...u w</math>: Different copies of the quantum digital digest state is prepared. | |||
** For <math>l = 1, 2, ...n</math>: | |||
# The quantum digital digest state <math>|F\rangle_l</math> is prepared by Signer, where: | |||
<div style="text-align: center;"><math> |F\rangle_l = |F(t_l||m_l||P_l|| t_l s_l)\rangle_l</math></div> |
Revision as of 01:50, 16 April 2019
The Arbitrated Quantum Signature protocol is quantum digital signature scheme where the public and private keys are classical in nature, however the signature cipher has a quantum nature. This is based directly on the public-key cryptography where the signer's identity is used to generate the public-key and One-Time Pad protocol generates the private key.
Tags: Quantum Digital Signature, Public key cryptography, Specific Task
Assumptions
- The protocol assumes perfect state preparation, transmissions and measurements.
- Private-key generation (PKG) is the arbitrator which is a trusted party. The master key and the identity of the Signer is kept secret by PKG.
- item In the signing process, the quantum one way function used to create the quantum digest is assumed to take polynomial time to compute and is hard to invert.
Outline
The entire protocol is broken in three phases: Key Generation, Signature and Verification. This scheme is presented between PKG, a Signer and a Verifier. The total number of qubits used in this protocol is equal to the total number of qubits in the message.
- Key Generation: In this method, the PKG generates a private key for the Signer and sends the same. This transaction can take place on both secure and insecure channels.
- Using identity-based encryption, Signer's public key is generated using their personal public information like email or ID card. This public key is accessible on open channels.
- PKG acquires the Signer's public key through the open channels.
- A quantum one way function is secretly and randomly selected by the PKG as the master key and along with that a random OTP number is also selected to denote Signer's different signature, thus acting as the identity. Using this identity and master key, a private key is generated for the Signer by the PKG.
- In the case of an insecure channel between the PKG and Signer, a secret key is shared in advance between them. PKG uses the shared key to encrypt the private key using the quantum Vernam cipher (Link here). Hence the Signer receives their private key.
- Signature: In this method, the Signer generates a signature quantum state using the message they want send, their public and private keys. The Signer also selects a quantum one way function publicly to generate the quantum digest.
- The Signer selects two random strings and generates a quantum state of the message using these random strings.
- The public and the private key are used to generate the signature quantum state from the state produced in the previous step.
- The Signer then generates a private key state using the two selected random numbers and the private key. Along with that a basis state is generated, which is a set of basis of each qubit in the private key state.
- Signer then generates a quantum digital digest using the quantum one way function with the message and private key state as input. This process is repeated several times to generate few copies of the quantum digest.
- The shared key with PKG is used to encrypt the quantum digest using the quantum Vernam cipher and then it is delivered to PKG.
- PKG decrypts the received ciphertext state and announces publicly that the messages are ready for the Verifier to download and verify.
- Signers sends the signature to Verifier which includes the signature quantum state, plain text message, timestamp and basis state.
- Verify: In this method, the verifier checks the authenticity of the signature.
- The Verifier uses Signer's public key and the signature sent to generate a quantum state. According to the Basis state set, the Verifier measures this quantum state and the result of this measurement is converted to a set of classical 2-bit string.
- One of the randomly selected string by the Signer can be easily inferred by the Verifier from the state after the measurement. The Verifier is then able to generate their own copy of quantum digital digest using the publicly announced quantum one way function.
- Verifier now publicly gains the timestamp and quantum digital digest from PKG and verifies that state with the produced quantum digital digest in the above step with the SWAP test. As the SWAP test has a probabilistic result, it is performed several times with the copies of quantum digital digest and then verified.
- If the test is passed the message from the Signer would be valid otherwise it is rejected.
Notation
- : Total number of qubits of message.
- : Signer's public key, where Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_{pub} \in \{0,1\}^n} .
- : Signer's private, where .
- : Random OTP number selected by PKG to denote each of Signer's signatures, where Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_{r} \in \{0,1\}^n} .
- : Shared key between the Signer and PKG where Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_{at} \in \{0,1\}^n} .
- : Quantum Vernam cipher encrypted state which uses Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_{at}} .
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle G} : PKG's master key which is a one way function where .
- : Public quantum one way function selected by Signer to generate quantum digest.
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m} : Message sent by Signer to the Verifier, where .
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s} : Random string of uniform distribution selected by the Signer, where .
- : Random string of uniform distribution selected by the Signer, where Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t \in \{0,1\}^n} .
- : Quantum state which is defined by
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |\phi\rangle_{a_l,b_l} := H^{a_l}U_{\frac{\pi}{4}}H^{b_l}|0\rangle}
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |\phi\rangle_{a_l,b_l,c_l}} : Quantum state which is defined by
- : Signature quantum state for message $m$ which is the quantum state
- : Private key quantum state where and it is the quantum state:
- : Classical 2n-bit for -qubit where is encoded to 10, to 11, to 00 and is encoded to 01.
- : This is the set of the basis of each qubit state in .
- : Quantum digital digest received by PKG.
- : Quantum digital digest generated by Verifier.
- : The most number of verifiers in this scheme.
- : Safety parameter threshold for acceptance.
- : Security threshold decided in advance.
- : Number of times SWAP test is performed.
- : A quantum state, where
This state is also expressed as where
- : Result of Verifier's measurement of .
- : Classical bit string denoted as . It is proven that .
- : , where .
Hardware Requirements
- Secure quantum channel between Signer and Verifier
- Quantum channel between Signer and PKG
- Private database for both Signer and PKG
- Measurement devices for the Verifier.
Properties
- The protocol assumes the PKG to be a trusted party.
- This protocol cannot be broken even if the adversary had unlimited computing power.
- In this protocol, it is proven that no adversary can break the secrecy of the Signer's signature private key.
- The quantum digital signature produces in this protocol is impossible to repudiate and cannot be forged in any condition.
- In the protocol the public and the private key belong to the classical bits, only the signature cipher has quantum nature.
- No Certificate Authority is required to manage digital public-key certificate of Signers.
- If , the measuring result occurs with probability 1, otherwise it occurs with probability . Hence, when repeated for times, the probability of equality is at least 1-.
Pseudo-Code
Stage 1: Key Generation
Output: Signer receives from the PKG.
- is generated on the basis of Signer's public identity information like email or person ID-card.
- PKG aquires through open channels.
- PKG selects randomly as its master key.
- PKG selects randomly.
- PKG calculates as
- PKG uses to encrypt and transmits to Signer.
- Signer decrypts using and receives .
Stage 2: Signature
Output: PKG receives the quantum digest and the Verifier receives the Signature from the Signer.
- Signer wants to sign the message .
- Signer selects and .
- For :
- Signer generates the state , which is:
- For :
- Signer generates the Signature quantum state , which is
- For :
- Signer generates the private key quantum state , which is
- The classical is calculated based on .
- The basis set is formed by Signer is:
- For : Different copies of the quantum digital digest state is prepared.
- For :
- The quantum digital digest state is prepared by Signer, where: