SM4 encryption/decryption

Perform SM4 encryption and decryption locally in the browser, verify the key and IV, and do not save the input or key in the browser.

Local browser processing
This page has passed the public directory check; full functionality is available after enabling JavaScript.
Page feedbackFound an issue or have suggestions for improvement?
Feedback features need to be used in the online version

Please enable JavaScript in the online version before submitting; local features of the current tool or example are not affected.

Go to the online version for feedback