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

Verification process

Verification is a process performed by anyone who possesses information that is made public by the owner. Public information usually has a public key, a message, and the signature of the message. Let's assume that Bob possesses all the public information and wishes to verify the message to check its authenticity. Bob uses a signature verification algorithm, which requires a hash of the message, the public key, and the signature. The algorithm will verify that the message hasn't been tampered with by anyone. An implemented example of both the signing and verification processes can be found later in the chapter.