Toolkit for Chinese national cryptographic standards (SM2, SM3, SM4)
Toolkit for Chinese national cryptographic standards
gmssl$ gmssl genpkey -algorithm SM2 -out private.pem$ gmssl dgst -sm3 filename.txt$ gmssl enc -sm4-cbc -in plaintext.txt -out ciphertext.bin -K key -iv iv