Article View: alt.privacy.anon-server
Article #173016Re: hash differences
From: R. T. Wurth
Date: Thu, 05 Aug 2004 03:44
Date: Thu, 05 Aug 2004 03:44
24 lines
1815 bytes
1815 bytes
In article <3c41724e709afbe1bb60b288cd0d24cf@mail.futureworlds.it>, futureworlds <nobody@mail.futureworlds.it> wrote: > something that strikes me as odd.... > > If I grab a Bash shell (in cygwin on win98se) and do the following: > > $ echo text to hash | openssl dgst -sha1 > > I get a result of: > 4e16114ff07d192f0f86231ff5afc54c320b2e08 > > However If i do the exact same thing at a Messy-dog prompt: > C:\WINDOWS>echo text to hash | openssl dgst -sha1 > > I get a completely different result of: > 0064908c9db2c6cb94021e469e0b195a5a3ea1a1 > > both are consistent within themselves, however I need these hash functions > to be consistent, producing the same results in different environs. > > ideas? > Line terminations? I suspect Cygwin terminates lines with just newline, and MS-DOS uses return and newline.
Technical Details
Message-ID:
<cesafp$us_002@worldnet.att.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mailReferences:
<3c41724e709afbe1bb60b288cd0d24cf@mail.futureworlds.it>Show Full Headers
Complete Article Headers
Message-ID: <cesafp$us_002@worldnet.att.net> Subject: Re: hash differences Date: Thu, 05 Aug 2004 03:44:59 GMT From: rwurth@att.net (R. T. Wurth) References: <3c41724e709afbe1bb60b288cd0d24cf@mail.futureworlds.it> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: alt.privacy.anon-server X-Newsreader: News Xpress 2.01 Lines: 24 NNTP-Posting-Host: 12.75.180.57 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1091677499 12.75.180.57 (Thu, NNTP-Posting-Date: Thu, 05 Aug 2004 03:44:59 GMT Organization: AT&T Worldnet