mirror of
https://github.com/konyshe/GoodLink.git
synced 2026-09-01 14:51:48 +08:00
完善加密部分
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user