Skip to content

Commit

Permalink
implement b2sum (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-ward authored Jun 14, 2024
1 parent 7c68314 commit 9f9be3d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
7 changes: 7 additions & 0 deletions src/b2sum/b2sum.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import common.sums
import crypto.blake2b
import os

fn main() {
sums.sum(os.args, 'b2sum', 'Blake2', 512, blake2b.sum512)
}
Empty file removed src/b2sum/delete.me
Empty file.

0 comments on commit 9f9be3d

Please sign in to comment.