chore: output vless hash11 in generater

This commit is contained in:
wwqgtxx
2025-08-21 11:25:41 +08:00
parent b56068ee1c
commit e4dfe09744
3 changed files with 11 additions and 7 deletions

View File

@@ -51,12 +51,13 @@ func Main(args []string) {
if len(args) > 1 {
seed = args[1]
}
seedBase64, clientBase64, err := encryption.GenMLKEM768(seed)
seedBase64, clientBase64, hash11Base64, err := encryption.GenMLKEM768(seed)
if err != nil {
panic(err)
}
fmt.Println("Seed: " + seedBase64)
fmt.Println("Client: " + clientBase64)
fmt.Println("Hash11: " + hash11Base64)
case "vless-x25519":
var privateKey string
if len(args) > 1 {
@@ -66,7 +67,7 @@ func Main(args []string) {
if err != nil {
panic(err)
}
fmt.Println("PrivateKey:" + privateKeyBase64)
fmt.Println("Password:" + passwordBase64)
fmt.Println("PrivateKey: " + privateKeyBase64)
fmt.Println("Password: " + passwordBase64)
}
}