[Bug 280670] Feature request: add crc32 support to md5(1)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Aug 2024 14:43:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280670

            Bug ID: 280670
           Summary: Feature request: add crc32 support to md5(1)
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jhb@FreeBSD.org

The base system does not readily provide an easy way to compute CRC32 checksums
of files or other input.  The md5(1) utility already supports several different
algorithms, and CRC32 support could be added by defining a new Algorithm class
making use of <sys/gsb_crc32c.h> and the relevant file from sys/libkern.

Note that while sum(1) and cksum(1) do exist, they are not as convenient to use
(e.g. they do not output the checksum in hex).

-- 
You are receiving this mail because:
You are the assignee for the bug.