0.2.1 • Published 5 years ago

sm-series-crypto v0.2.1

Weekly downloads
20
License
MIT
Repository
github
Last release
5 years ago

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.