Digital signatures · sign with the private key, verify with the public key, detect tamperingDigital signatures · sign with the private key, verify with the public key, detect tampering
sign=Enc_priv(hash) · verify=Dec_pub(sig)==hash · 篡改检测sign = encrypt the message hash with the private key; verify = decrypt with the public key and compare to the message hash; change one character and it breaks