[Bug 236663] md5/sha256/etc incorrect hash from stdin

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 20 14:24:39 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236663

            Bug ID: 236663
           Summary: md5/sha256/etc incorrect hash from stdin
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: gldisater at gmail.com

$ echo abc|md5
0bee89b07a248e27c83fc3d5951213c1
$ echo abc |md5
0bee89b07a248e27c83fc3d5951213c1
$ md5 -sabc
MD5 ("abc") = 900150983cd24fb0d6963f7d28e17f72
$ echo abc > ~/test.md5
$ md5 ~/test.md5
MD5 (/home/gldisater/test.md5) = 0bee89b07a248e27c83fc3d5951213c1


$ sha256 -sabc
SHA256 ("abc") =
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
$ echo abc| sha256
edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb

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


More information about the freebsd-bugs mailing list