From b8917b212440d9b0d2a09c79956e0ade3c35e246 Mon Sep 17 00:00:00 2001 From: sangge <2251250136@qq.com> Date: Thu, 12 Oct 2023 19:49:50 +0800 Subject: [PATCH] feat: add test file --- test.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test.py diff --git a/test.py b/test.py new file mode 100644 index 0000000..3b4e363 --- /dev/null +++ b/test.py @@ -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()) \ No newline at end of file