Foundations of Blockchain
上QQ阅读APP看书,第一时间看更新

How does it work?

As shown in Figure 2.11, the digital signature process consists of two parts: signing, and verification. Unlike with encryption, the digital signature performs the first operation, signing using the private key. Verification uses the public key distributed by the signer.

A hashing algorithm generates a unique fixed length value that is used during the construction and verification of a digital signature. Refer to the next section for a detailed explanation of cryptographic hashing.