From: Sebastian Kapfer Date: 2002-11-28T06:30:32+09:00 Subject: Re: MD5 On Wed, 27 Nov 2002 21:47:50 +0100, Sebastian Ruhs wrote: > [code (ruby)] > dodger@satan:~$ irb > irb(main):001:0> require 'md5' > true > irb(main):002:0> MD5.md5('hello') > 5d41402abc4b2a76b9719d911017c592 > > [shell] > dodger@satan:~$ echo hello > hello > dodger@satan:~$ md5sum hello > b1946ac92492d2347c6235b4d2611184 hello You forgot about the newline character that 'echo' produces by default. $ echo -n hello | md5sum 5d41402abc4b2a76b9719d911017c592 $ echo hello | md5sum b1946ac92492d2347c6235b4d2611184