Date: Wed, 20 Mar 2019 15:00:17 +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-LzTwpqHWWH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236663-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236663 fullermd@over-yonder.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fullermd@over-yonder.net --- Comment #2 from fullermd@over-yonder.net --- It's nothing to do with stdin. echo(1) adds a newline (unless you `echo -n`); you're hashing a different string. % printf "abc" | md5 900150983cd24fb0d6963f7d28e17f72 % printf "abc\n" | md5 0bee89b07a248e27c83fc3d5951213c1 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236663-227-LzTwpqHWWH>
