Arbitrated Quantum Digital Signature: Difference between revisions

Line 84: Line 84:
==Pseudocode==
==Pseudocode==
'''Stage 1''': Key Generation </br>
'''Stage 1''': Key Generation </br>
'''Output''': Signer receives <math>k_{pri}</math> from the PKG.
'''Input''': Seller and PKG (quantum one time pad key, <math>k_at</math>)
'''Output''': Seller and PKG (private key, <math>k_{pri}</math>); Everyone (public key, <math>k_{pub}</math>)


* <math>k_{pub}</math> is generated on the basis of Seller's public identity information like email or person ID-card.
* PKG generates <math>k_{pub}= f(Seller's email-id)</math>
* PKG aquires <math>k_{pub}</math> through open channels.
* PKG calculates <math>k_{pri} := G(k_{pub}) \oplus k_{r} </math>
* PKG selects <math>G</math> randomly as its master key.
* PKG encrypts <math>Vernam-Cipher(<math>k_{at},k_{pri}=E_{k_{at}}</math>)
* PKG selects <math>k_{r}</math> randomly.
* Seller decrypts <math>Vernam-Cipher(k_{at}, E_{k_{at}})=k_{pri}</math>.
* 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>
'''Stage 2''': Signature</br>
Write, autoreview, editor, reviewer
3,129

edits