add tax
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
func TestAesEcbMobileEncryption(t *testing.T) {
|
||||
// 测试手机号加密
|
||||
mobile := "18889793585"
|
||||
mobile := "13930867138"
|
||||
|
||||
keyStr := "ff83609b2b24fc73196aac3d3dfb874f"
|
||||
// 测试加密
|
||||
@@ -17,7 +17,7 @@ func TestAesEcbMobileEncryption(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("手机号加密失败: %v", err)
|
||||
}
|
||||
fmt.Println(encrypted)
|
||||
fmt.Printf("encrypted: %s\n", encrypted)
|
||||
jmstr := "m9EEeW9ZBBJmi1hx1k1uIQ=="
|
||||
// 测试解密
|
||||
decrypted, err := DecryptMobile(jmstr, keyStr)
|
||||
|
||||
Reference in New Issue
Block a user