[Bug 236663] md5/sha256/etc incorrect hash from stdin
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 20 15:00:21 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236663
fullermd at over-yonder.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fullermd at over-yonder.net
--- Comment #2 from fullermd at 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.
More information about the freebsd-bugs
mailing list