07-07-2023 дата публикации
Номер: CN116405216A
Принадлежит:
The invention provides a dual authentication signature prevention method and device based on SM2. The method comprises the following steps: step 1, initializing a system, inputting a safety parameter 1n, and outputting a public parameter set PP; step 2, inputting a public parameter set PP to generate a key; step 3, inputting a public parameter set PP, a to-be-signed message m = (alpha, p) and a private key sk to generate a signature s; step 4, inputting a public parameter set PP, a to-be-verified message m = (alpha, p), a signature s and a public key vk for signature verification; wherein alpha is an address part in the message m to be verified; p is the content load in the message m to be verified. According to the method, the anti-dual-authentication signature is adopted and is realized and tested, so that the generalization process of a cryptographic algorithm is promoted, the signature scheme conforms to unforgeable security, and the method has the advantages of small computation amount ...
Подробнее