Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2019 14:24:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236663] md5/sha256/etc incorrect hash from stdin
Message-ID:  <bug-236663-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236663

            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@FreeBSD.org
          Reporter: gldisater@gmail.com

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


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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236663-227>