Algorithm 2 Ring Signature and Public Key Sharing. |
-
1:
functionSignature ()
-
2:
if user chose anonymity over blockchain then
-
3:
Generate an asymmetric public-private key pair
-
4:
calculate hash of the
-
5:
Create the Digital Signature using and signers private key
-
6:
Share the public key to the receiver using Diffie–Hellman key exchange
-
7:
Mix the signature with another network group to form a ring
-
8:
end if
-
9:
end function
|