New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test for SM4 #15
Comments
A mistake in writing.It's sm4_test.go . |
You can use the sm4.Newcipher, Let me give you an example:
|
please leave comments if still have questions/issues. thanks |
I got it, thanks a lot. |
It's okay. |
nice |
the sm4-cbc is different form openssl sm4-cbc, why? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have noticed that the data used to encrypt in an4_test.go must be 16 or 16*n bytes long.And I have a try to use Encryption function here to encrypt some data like "Hello World",but it doesn't work with Decryption function here.So,does it work in GM module in bccsp for sm4 now? Thanks in advanced.
The text was updated successfully, but these errors were encountered: