From 74e980463324638d30f0fc496335b1d72a1c624e Mon Sep 17 00:00:00 2001 From: kmahyyg <16604643+kmahyyg@users.noreply.github.com> Date: Thu, 21 Jan 2021 14:53:28 +0800 Subject: [PATCH] fix bug --- argon2g/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/argon2g/main.go b/argon2g/main.go index 6d05924..64420c9 100644 --- a/argon2g/main.go +++ b/argon2g/main.go @@ -37,9 +37,9 @@ func main() { if len(password) < 2 { log.Println("Current Password: " + password + " is too weak or not set...") password = RandStringBytes(10) - } else { - log.Println("Current Password: " + password) - } + } + log.Println("Current Password: " + password) + var ag2_memory uint32 = 4096 var ag2_iter uint32 = 3