From: Sebastian Ruhs Date: 2002-11-28T06:30:15+09:00 Subject: MD5 Could it be that the results of the MD5-Digest algorithm implemented in ruby are different from "md5sum"? If yes, why? If no, what did I wrong? [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 -- "Die Geschichte wiederholt sich nicht, wohl aber die Leichtfertigkeit, mit der sie gemacht wird." [W.Weidner] - http://www.malerwerkst.at - (slow) (Registrierter Linux-User #249081)