How to check the encryption method of digital signature in code
Implementation process of signature: input: original text, output private key: signature value 1, make original text HASH2, encrypt HASH with private key, and the result is the implementation process of signature verification: input: signature value, original text, output public key: verify whether it passes 1, make original text HASH 12, and decrypt signature value with public key to get Hash 20.