README
sm-series-crypto
SM series cryptography in javascript implementation.
SM2 signature, encrypt/decrypt, SM3 hash, SM4 encrypt/decrypted are implemented.
Reference repos:
https://github.com/AlverLyu/sm.js
https://github.com/JuneAndGreen/sm-crypto
https://github.com/pecliu/gm-crypt
Currently code needs refactor because the codes are come from three repos,but the function of this repo is complete. I'm going to refactor it using Buffer.
Usage
See tests for details.