SM2 Encryption and Decryption

Feedback

📖 Description

The encrypted output is Base64; the decrypted input should be Base64 ciphertext. Both the public and private keys are HEX strings; the public key must be in uncompressed format (starting with 04 and generally 130 HEX characters long).