Write, autoreview, editor, reviewer
3,129
edits
Line 84: | Line 84: | ||
==Pseudocode== | ==Pseudocode== | ||
'''Stage 1''': Key Generation </br> | '''Stage 1''': Key Generation </br> | ||
'''Output''': | '''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} | * PKG generates <math>k_{pub}= f(Seller's email-id)</math> | ||
* PKG calculates <math>k_{pri} := G(k_{pub}) \oplus k_{r} </math> | |||
* PKG encrypts <math>Vernam-Cipher(<math>k_{at},k_{pri}=E_{k_{at}}</math>) | |||
* Seller decrypts <math>Vernam-Cipher(k_{at}, E_{k_{at}})=k_{pri}</math>. | |||
* PKG calculates | |||
* PKG | |||
* | |||
'''Stage 2''': Signature</br> | '''Stage 2''': Signature</br> |