Rename secret ee to hex

This commit is contained in:
9seconds
2021-03-10 17:03:56 +03:00
parent cbcc113e41
commit a34949f15c
3 changed files with 23 additions and 14 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ func runGenerateSecret(cli *CLI) {
secret := mtglib.GenerateSecret(cli.GenerateSecret.HostName)
if cli.GenerateSecret.Hex {
fmt.Println(secret.EE())
fmt.Println(secret.Hex())
} else {
fmt.Println(secret.Base64())
}