From 7b79529db88991b2a6110143ffa23200139ed4c1 Mon Sep 17 00:00:00 2001 From: "2312708932@qq.com" Date: Sat, 14 Dec 2024 14:12:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8A=A0=E5=AF=86=E9=83=A8?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aes/aes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aes/aes.go b/aes/aes.go index 78b431f..8f440e1 100644 --- a/aes/aes.go +++ b/aes/aes.go @@ -16,7 +16,7 @@ func getKey(key string) []byte { // 填充key for len(key) < 24 { - key = key + "0" + key = key + key[0:1] } return []byte(key) }