SM2 sample

generating SM2 keypair, signing and verifying SM3withSM2 signature


(Step1) choose supported EC curve name and generate key pair

ECC curve name:

EC private key (hex):
EC public key (hex):

(Step2) Sign message

Signature Algorithm:
Message string to be signed:

Signature value (hex):

(Step3) Verify signature