In public-key cryptography as used in blockchain, what is the primary function of the private key?
-
A
To encrypt the hash of a transaction, creating a digital signature.
-
B
To be shared publicly for verifying transactions.
-
C
To decrypt messages that were encrypted with the public key.
-
D
To generate a new public key for every transaction.