diff --git a/README.md b/README.md index 63c844af..92a75b5c 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ compare against the true GNU coreutils version on the Linux-based tests first. | :-----: | --------- | ------------------------------------------------ | | ✓ | **[** | Alternate form of `test` | | ✓ | arch | Print machine hardware name | -| | b2sum | Print or check BLAKE2 digests | +| ✓ | b2sum | Print or check BLAKE2 digests | | ✓ | base32 | Transform data into printable data | | ✓ | base64 | Transform data into printable data | | ✓ | basename | Strip directory and suffix from a file name | diff --git a/src/b2sum/b2sum.v b/src/b2sum/b2sum.v new file mode 100644 index 00000000..fa1aab8e --- /dev/null +++ b/src/b2sum/b2sum.v @@ -0,0 +1,7 @@ +import common.sums +import crypto.blake2b +import os + +fn main() { + sums.sum(os.args, 'b2sum', 'Blake2', 512, blake2b.sum512) +} diff --git a/src/b2sum/delete.me b/src/b2sum/delete.me deleted file mode 100644 index e69de29b..00000000