1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-17 23:56:01 +02:00
BLAKE3/b3sum
Jack O'Connor 1d17689133 same license field fix in b3sum/Cargo.toml 2020-01-10 10:00:17 -05:00
..
src clarify that b3sum --keyed takes raw key bytes 2020-01-07 17:44:50 -05:00
tests make the --length argument require a value 2020-01-05 19:21:47 -05:00
Cargo.toml same license field fix in b3sum/Cargo.toml 2020-01-10 10:00:17 -05:00
README.md show the default value for b3sum --length 2019-12-13 16:23:03 -05:00

b3sum

b3sum 0.1.0

USAGE:
    b3sum [FLAGS] [OPTIONS] [file]...

FLAGS:
        --derive-key    Uses the KDF mode, with the 32-byte key read from stdin
    -h, --help          Prints help information
        --keyed         Uses the keyed mode, with the 32-byte key read from stdin
        --no-names      Omits filenames in the output
    -V, --version       Prints version information

OPTIONS:
    -l, --length <LEN>    The number of output bytes, prior to hex encoding [default: 32]

ARGS:
    <file>...

Building

You can build and install with cargo install --path ., which installs binaries in ~/.cargo/bin on Linux. Or you can just build with cargo build --release, which puts the binary at ./target/release/b3sum.

AVX-512 support (via C FFI, with dynamic CPU feature detection) and multi-threading (via Rayon) are enabled by default. Note that the underlying blake3 crate does not enable those by default.