eltorio has asked for the wisdom of the Perl Monks concerning the following question:
and for trying I do:#!/user/bin/perl use Digest::MD5 ; my $md5 = Digest::MD5->new; $md5->reset; $md5->addfile(\*STDIN); print $md5->hexdigest , "\n" ; $md5->reset; $md5->add("jhondoe:one_real:jh@ondoe"); print $md5->hexdigest , "\n" ;
For me it is impossible to understand. Can someone can explain to me, I use perl 5.8.6 on a i686 linux with Digest 2.36 Thank you. Eltorioecho -n "jhondoe:one_real:jh@ondoe" | perl computedigest.pl 10933255f493361481c580259b2a1ab5 f483e2cea20ce9d5891abd77c66a01a6
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Newbie doesn't understand Digest::MD5
by Corion (Patriarch) on Apr 19, 2006 at 12:28 UTC | |
by eltorio (Novice) on Apr 19, 2006 at 12:40 UTC | |
by Corion (Patriarch) on Apr 19, 2006 at 12:43 UTC | |
by eltorio (Novice) on Apr 19, 2006 at 12:50 UTC | |
by doran (Deacon) on Apr 19, 2006 at 22:29 UTC |