]> Cypherpunks.ru repositories - balloon.git/blobdiff - cmd/balloon/main.go
Namespace is changed to go.cypherpunks.ru/balloon
[balloon.git] / cmd / balloon / main.go
index 8283a5345e0432e66a73e66ef4f270768b3c06cb..7ba57af5b83d9b80bc878f6a4c395170efcc7a03 100644 (file)
@@ -6,18 +6,15 @@ import (
        "flag"
        "fmt"
 
-       "cypherpunks.ru/balloon"
-)
-
-var (
-       s       = flag.Int("s", 1<<18, "Space cost, number of hash-sized blocks")
-       t       = flag.Int("t", 2, "Time cost, rounds")
-       p       = flag.Int("p", 4, "Number of threads")
-       saltHex = flag.String("salt", "deadbabe", "Salt, hexadecimal")
-       passwd  = flag.String("passwd", "", "Password")
+       "go.cypherpunks.ru/balloon"
 )
 
 func main() {
+       s := flag.Int("s", 1<<18, "Space cost, number of hash-sized blocks")
+       t := flag.Int("t", 2, "Time cost, rounds")
+       p := flag.Int("p", 4, "Number of threads")
+       saltHex := flag.String("salt", "deadbabe", "Salt, hexadecimal")
+       passwd := flag.String("passwd", "", "Password")
        flag.Parse()
        salt, err := hex.DecodeString(*saltHex)
        if err != nil {