feat: add test file

This commit is contained in:
sangge 2023-10-12 19:49:50 +08:00
parent 7eea3cc000
commit b8917b2124

6
test.py Normal file
View File

@ -0,0 +1,6 @@
from gmssl import * #pylint: disable = e0401
sm3 = Sm3() #pylint: disable = e0602
sm3.update(b'abc')
dgst = sm3.digest()
print("sm3('abc') : " + dgst.hex())