🚧 improve image encryption and decryption
This commit is contained in:
11
common/utils/encrypt_test.go
Normal file
11
common/utils/encrypt_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package utils
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestEncrypt(t *testing.T) {
|
||||
encrypt, err := Encrypt("LDQ20020618xxx")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(encrypt)
|
||||
}
|
Reference in New Issue
Block a user