This commit is contained in:
Leufolium 2024-07-28 18:13:37 +08:00
parent 05e04ecaaa
commit 49761e7ebe
1 changed files with 2 additions and 0 deletions

View File

@ -669,10 +669,12 @@ func main() {
if err != nil { if err != nil {
fmt.Printf("DecodeString err :%v", err) fmt.Printf("DecodeString err :%v", err)
} }
fmt.Printf("base64DecryptedBytes: %v", base64DecryptedBytes)
phone, err := cryptoService.DecryptByAES(base64DecryptedBytes) phone, err := cryptoService.DecryptByAES(base64DecryptedBytes)
if err != nil { if err != nil {
fmt.Printf("DecryptByAES err :%v", err) fmt.Printf("DecryptByAES err :%v", err)
} }
fmt.Printf("phone: %v", phone)
phoneStr := string(phone) phoneStr := string(phone)
mid := account.GetMid() mid := account.GetMid()
name := account.GetName() name := account.GetName()