[BusyBox] md5sum strangeness
Anthony Russello
russello at iomega.com
Wed Mar 16 16:35:46 UTC 2005
Yup, you're right.
Thanks,
Anthony
> -----Original Message-----
> From: Larry Doolittle [mailto:ldoolitt at recycle.lbl.gov]
> Sent: March 16, 2005 11:34 AM
> To: Anthony Russello
> Cc: busybox at mail.codepoet.org
> Subject: Re: [BusyBox] md5sum strangeness
>
>
>
> > I'm currently seeing some odd behaviour from the md5sum function in
> > busybox when running on the cris architecture (cris-axis-linux-gnu).
> >
> > basically, if I run "echo -n pass | md5sum" on my x86 machine, not
> > using busybox, I get this: 1a1dc91c907325c69271ddf0c944bc72 -
> > When I run the same command using busybox, I get this:
> > 2fb40ef8b9a248c0836092862f1e944f -
> >
> > Now, to test a little further, I tried running "echo pass |
> md5sum" on
> > both, and got these results:
> > x86:
> > 4528e6a7bb9341c36c425faf40ef32c3 -
> > cris with busybox:
> > 4528e6a7bb9341c36c425faf40ef32c3 -
> >
> > So it looks like without the -n at the end of the echo command the
> > results are identical, but with it, they're different.
>
> You could have figured this out by simply trying "echo -n
> pass" on cris with busybox. Betcha nickel it says -n pass
>
> On my debian x86_64 workstation,
>
> $ echo "-n pass" | md5sum
> 2fb40ef8b9a248c0836092862f1e944f -
>
> - Larry
>
More information about the busybox
mailing list