/*
balloon -- Balloon password hashing function
-Copyright (C) 2016-2019 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2022 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
)
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")
+ s := flag.Int("s", 1<<16, "Space cost, number of hash-sized blocks")
+ t := flag.Int("t", 3, "Time cost, rounds")
+ p := flag.Int("p", 1, "Number of threads")
saltHex := flag.String("salt", "", "Salt, hexadecimal, optional")
passwd := flag.String("passwd", "", "Password")
flag.Usage = func() {