add: User transmission interface encryption

This commit is contained in:
EUForest
2025-10-12 16:23:29 +08:00
parent f3bc933a99
commit 46e6a9784d
27 changed files with 410 additions and 22 deletions
+1
View File
@@ -8,4 +8,5 @@ const (
CtxKeyRequestHost CtxKey = "requestHost"
CtxKeyPlatform CtxKey = "platform"
CtxKeyPayment CtxKey = "payment"
LoginType CtxKey = "loginType"
)
+1 -1
View File
@@ -3,5 +3,5 @@ package tool
import "testing"
func TestEncodePassWord(t *testing.T) {
t.Logf("EncodePassWord: %v", EncodePassWord(""))
t.Logf("EncodePassWord: %v", EncodePassWord("password"))
}