NAME

bmkpasswd - bcrypt-enabled mkpasswd

SYNOPSIS

bmkpasswd [OPTIONS]... [PASSWD]

OPTIONS

-h, --help

-b, --benchmark
    Show timers.

-m, --method <TYPE>
    crypt method.
    Types:
      bcrypt (default; requires Crypt::Eksblowfish)
      sha512 (requires glibc2.7+)
      sha256 (requires glibc2.7+)
      md5 (fast, portable, weak)

-c, --check <HASH>
    Check password against <HASH>.
    Method will be auto-detected.

-w, --workcost <COST>
    bcrypt-only.
    Specify a work cost factor. Higher is slower.
    Must be a two-digit power of 2.
    Pad with zeros as necessary.

DESCRIPTION

Simple bcrypt-enabled mkpasswd.

While SHA512 isn't a bad choice if you have it, bcrypt has the advantage of including a configurable work cost factor.

A higher work cost factor exponentially increases hashing time.

That means it takes significantly longer to compare a very large number of passwords against yours.

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>