cksum

    cksum command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.7
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    143

    #cksum

    Compute and verify checksums through MoonX.

    #Usage

    moonx cli/cksum input.bin moonx cli/cksum -a sha256 input.bin moonx cli/cksum -a sha256 --untagged input.bin > checksums.txt moonx cli/cksum -a sha256 -c checksums.txt

    Default output contains the POSIX CRC checksum, byte count and optional filename. Modern digest algorithms also support checksum manifests.

    #Common options

    OptionDescription
    -a VALUE, --algorithm VALUESelect the checksum algorithm listed above.
    -l VALUE, --length VALUESHA2/SHA3: 224, 256, 384, 512; BLAKE2b: 8..512 by 8
    --untaggedomit algorithm tags (modern digests default to tags)
    -c, --checkread checksum records and verify files
    --quietsuppress successful verification output
    --statussuppress verification results and summaries
    --helpShow help.
    --versionShow the version.

    Use --help for the complete option list.

    #Notes

    • Supported algorithms include bsd, sysv, crc, crc32b, md5, sha1, sha224, sha256, sha384, sha512, sha2, sha3, blake2b and sm3.
    • Legacy checksum algorithms do not support manifest checking. Raw output requires one input. Binary/text flags select manifest markers without translating file bytes.
    • --ignore-missing still requires at least one successfully checked file.

    See the compatibility guide for the supported profile.

    Source Files