forked from sangge/tpre-python
test: test
This commit is contained in:
parent
6d3e44d582
commit
d92c0063d1
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())
|
Loading…
x
Reference in New Issue
Block a user