-
Notifications
You must be signed in to change notification settings - Fork 4
/
run_example.py
35 lines (25 loc) · 1.05 KB
/
run_example.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
运行 examples 下的例子代码
"""
print("----------------sm2_encrypt_and_decrypt----------------")
import examples.sm2_encrypt_and_decrypt
print("----------------sm2_sign_and_verify----------------")
import examples.sm2_sign_and_verify
print("----------------sm2_asn1_der----------------")
import examples.sm2_asn1_der
print("----------------sm2_key----------------")
import examples.sm2_key
print("----------------sm3_hash----------------")
import examples.sm3_hash
print("----------------sm3_hmac----------------")
import examples.sm3_hmac
print("----------------sm3_kdf----------------")
import examples.sm3_kdf
print("----------------sm4_cbc_encrypt_and_decrypt----------------")
import examples.sm4_cbc_encrypt_and_decrypt
print("----------------sm4_ctr_encrypt_and_decrypt----------------")
import examples.sm4_ctr_encrypt_and_decrypt
print("----------------sm4_gcm_encrypt_and_decrypt----------------")
import examples.sm4_gcm_encrypt_and_decrypt
print("----------------sm9_encrypt_and_decrypt----------------")
import examples.sm9_encrypt_and_decrypt