Skip to content

cksum: Wrong output for cksum -a crc32b --raw #9025

@RenjiSann

Description

@RenjiSann
$ ../gnu/src/cksum --version      
cksum (GNU coreutils) 9.8.58-a2a2-modified
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Pádraig Brady and Q. Frank Xia.

$ echo "Test" | ../gnu/src/cksum --raw -a crc32b | xxd 
00000000: fa78 1ac2                                .x..

$ echo "Test" | ./target/debug/cksum --raw -a crc32b | xxd
00000000: 4202 1751 70                             B..Qp

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions