{
    "mode": "info",
    "parameter": "sha1sum",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/sha1sum/json",
    "generated": "2026-11-15T16:09:20Z",
    "sections": {
        "File: coreutils.info,  Node: sha1sum invocation,  Next: sha2 utilities,  Prev: b2sum invocation,  Up: Summarizing files": {
            "content": "",
            "subsections": [
                {
                    "name": "6.6 'sha1sum': Print or check SHA-1 digests",
                    "content": "'sha1sum' computes a 160-bit checksum for each specified FILE.\n\nNote: The SHA-1 digest is more reliable than a simple CRC (provided\nby the 'cksum' command) for detecting accidental file corruption, as the\nchances of accidentally having two files with identical SHA-1 are\nvanishingly small.  However, it should not be considered secure against\nmalicious tampering: although finding a file with a given SHA-1\nfingerprint is considered infeasible at the moment, it is known how to\nmodify certain files, including digital certificates, so that they\nappear valid when signed with an SHA-1 digest.  For more secure hashes,\nconsider using SHA-2, or the newer 'b2sum' command.  *Note sha2\nutilities::.  *Note b2sum invocation::.\n\nIf a FILE is specified as '-' or if no files are given 'sha1sum'\ncomputes the checksum for the standard input.  'sha1sum' can also\ndetermine whether a file and checksum are consistent.  Synopsis:\n\nsha1sum [OPTION]... [FILE]...\n\n'sha1sum' uses the 'Untagged output format' for each specified file,\nas described at *note cksum output modes::.\n\nThe program accepts *note cksum common options::.  Also see *note\nCommon options::.\n"
                }
            ]
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}