test: test
This commit is contained in:
4
test.py
4
test.py
@@ -1,6 +1,6 @@
|
|||||||
from gmssl import * #pylint: disable = e0401
|
from gmssl import * #pylint: disable = e0401
|
||||||
|
|
||||||
sm3 = Sm3() #pylint: disable = e0602
|
sm3 = Sm3() #pylint: disable = e0602
|
||||||
sm3.update(b'abc')
|
sm3.update(b'1456456')
|
||||||
dgst = sm3.digest()
|
dgst = sm3.digest()
|
||||||
print("sm3('abc') : " + dgst.hex())
|
print("sm3('111') : " + dgst.hex())
|
Reference in New Issue
Block a user