Commit Graph
18 Commits
Author SHA1 Message Date
Dorian PéronandDaniel Hofstetter 7fb2bf0db4 test(cksum): add regular tests for blake3 2026-03-25 16:51:37 +01:00
Dorian PeronandDorian Péron 8c9bb16857 test(cksum): Add tests for BLAKE2b --length sanitization 2025-11-18 11:30:14 +01:00
naoNao89andDorian Péron 8f623574a4 fix(cksum): correct CRC32B implementation to match GNU cksum
- Implement correct CRC32B algorithm with proper polynomial and initialization
- Add comprehensive test fixtures for CRC32B validation
- Support raw output format for CRC32B checksums
- Update dependencies and lock files for compatibility
- Fix code formatting and style issues
2025-11-03 10:51:09 +01:00
Dorian Peron 69ce42c3cb test(cksum): add tests for --length, refactor tests 2025-10-28 03:06:19 +01:00
Dorian Peron 3d8ad59b30 test(cksum): Add sha3 tests 2025-10-26 20:18:14 +01:00
Dorian Péron e9cf31451e test(cksum): add tests for -z/--zero 2024-10-24 00:29:45 +02:00
Sylvestre Ledru 843275a136 cksum/blake2b: improve the error management 2024-05-14 23:21:56 +02:00
Ben Wiederhake 133cdde885 cksum: implement and test --base64 output method 2024-03-18 20:59:59 +01:00
D9nni c7b15ddce9 cksum: fixed cksum --raw --algorithm 2024-01-10 15:04:19 +02:00
D9nni 96271ffa3c cksum: added tests for --raw with each algorithm, not working for crc, sysv, bsd 2024-01-09 23:12:40 +02:00
D9nni 28b5224725 cksum: fixed test for --raw on single file 2024-01-08 15:50:25 +02:00
Vardhan Patil e1863ac64e tests/cksum: test when the --length argument is 0 or >512 2023-12-30 20:14:30 +05:30
Vardhan Patil 09ef150085 tests/cksum: add tests for the length argument 2023-12-30 16:01:22 +05:30
Daniel Hofstetter 690fff2fc9 cksum: implement --untagged 2023-05-14 16:43:14 +02:00
Daniel Hofstetter 0781ad0a65 cksum: fix output of --algorithm
for the algorithms md5, sha[1,224,256,384,512], blake2b, and sm3 from

<digest> <filesize> <filename>

to

<algo name> (<filename>) = <digest>

to use the same format as GNU cksum
2023-05-11 14:24:43 +02:00
Yang Hau 678a11dcf2 cksum: Implement option -a
Implement option -a --algorithm.
Move digest to src/uucore/src/lib/features and rename it to hash.

fix lint

fix Cargo.toml
2023-02-18 20:58:53 +08:00
Yagiz DegirmenciandGitHub cbe07c93c6 cksum: add tests and fixtures (#1923) 2021-04-05 22:21:21 +02:00
Nathan Ross a21c54e2cd rewrite tests for cargo compat, decoupled directory, output handling 2015-11-23 02:04:15 -05:00