Skip to content

cksum: implement -a #3812

@sylvestre

Description

@sylvestre

Used by tests/misc/sm3sum.pl

-a, --algorithm=TYPE
    select the digest type to use. See DIGEST below.

[...]

DIGEST determines the digest algorithm and default output format:

sysv
    (equivalent to sum -s)
bsd
    (equivalent to sum -r)
crc
    (equivalent to cksum)
md5
    (equivalent to md5sum)
sha1
    (equivalent to sha1sum)
sha224
    (equivalent to sha224sum)
sha256
    (equivalent to sha256sum)
sha384
    (equivalent to sha384sum)
sha512
    (equivalent to sha512sum)
blake2b
    (equivalent to b2sum)
sm3
    (only available through cksum)

When checking, the input should be a former output of this program, or equivalent standalone program.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions