test: test

This commit is contained in:
dqy 2023-10-12 20:50:00 +08:00
parent 6d3e44d582
commit d92c0063d1

View File

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