kratos hashers argon2 hash
kratos hashers argon2 hash
Hash a list of passwords for benchmarking the hashing parameters
kratos hashers argon2 hash <password1> [<password2> ...] [flags]
Options
  -c, --config strings                Path to one or more .json, .yaml, .yml, .toml config files. Values are loaded in the order provided, meaning that the last config file overwrites values from the previous config file.
      --dedicated-memory byte_size    Amount of memory dedicated for password hashing. Kratos will try to not consume more memory. (default 1.00GB)
      --expected-deviation duration   Expected deviation of the time a hashing operation (~login request) takes. (default 500ms)
  -h, --help                          help for hash
      --iterations uint32             Number of iterations to start probing at. (default 1)
      --key-length uint32             Length of the key in bytes. (default 32)
      --memory byte_size              Memory to use. (default 128.00MB)
      --min-duration duration         Minimal duration a hashing operation (~login request) takes. (default 500ms)
      --parallel                      Run all hashing operations in parallel.
      --parallelism uint8             Number of threads to use. (default 4)
      --salt-length uint32            Length of the salt in bytes. (default 16)