linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: mod+linuxppc-embedded@world-f.std.com
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: do md5sums differ across architectures?
Date: Thu, 22 Feb 2001 12:12:35 -0500	[thread overview]
Message-ID: <200102221712.MAA15343@odonnell.lowell.mclinux.com> (raw)
In-Reply-To: Your message of "Thu, 22 Feb 2001 11:03:45 EST." <200102221603.f1MG3k716096@ashley.ivey.uwo.ca>


Simple test cases: on both machines do

for string in \
   "" \
   "a" \
   "abc" \
   "message digest" \
   "abcdefghijklmnopqrstuvwxyz" \
   "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" \
   "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
do
    echo -n $string | md5sum
done


The results MUST be:

   d41d8cd98f00b204e9800998ecf8427e
   0cc175b9c0f1b6a831c399e269772661
   900150983cd24fb0d6963f7d28e17f72
   f96b697d7cb7938d525a2f31aaf161d0
   c3fcd3d76192e4007dfb496cca67e13b
   d174ab98d277d9f5a5611c2c9f419d9f
   57edf4a22be3c955ac49da2e2107b67a

...respectively, or it's broken.


SEE ALSO: RFC 1321

 (e.g. http://rfc.asuka.net/rfc/rfc1321.html )


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-02-22 17:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-22 16:03 do md5sums differ across architectures? Kevin B. Hendricks
2001-02-22 17:12 ` mod+linuxppc-embedded [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-22 18:57 Kevin B. Hendricks
2001-02-22 20:09 ` Jeffrey Hawkins
2001-02-22 21:13   ` Kevin B. Hendricks
2001-02-22 22:12     ` Kevin B. Hendricks
2001-02-22 15:24 Kevin B. Hendricks
2001-02-22 15:49 ` Ethan Benson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200102221712.MAA15343@odonnell.lowell.mclinux.com \
    --to=mod+linuxppc-embedded@world-f.std.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).