chore: using named const value

This commit is contained in:
wwqgtxx
2025-08-11 11:29:51 +08:00
parent b41ea05481
commit d7999a32d3
6 changed files with 11 additions and 10 deletions

View File

@@ -51,11 +51,11 @@ func Main(args []string) {
if len(args) > 1 {
seed = args[1]
}
seedBase64, pubBase64, err := encryption.GenMLKEM768(seed)
seedBase64, clientBase64, err := encryption.GenMLKEM768(seed)
if err != nil {
panic(err)
}
fmt.Println("Seed: " + seedBase64)
fmt.Println("Client: " + pubBase64)
fmt.Println("Client: " + clientBase64)
}
}