diff options
Diffstat (limited to 'perl/testmd.pl')
-rw-r--r-- | perl/testmd.pl | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/perl/testmd.pl b/perl/testmd.pl deleted file mode 100644 index a17ac6b90c..0000000000 --- a/perl/testmd.pl +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/local/bin/perl - -use ExtUtils::testlib; - -use SSLeay; - -@md=(); -foreach ("md2", "md5", "sha", "sha1", "mdc2", "ripemd160") - { - ($f=MD->new($_)) || - die "$_ is an unknown message digest algorithm\n"; - push(@md,$f); - } - -while (<>) - { - foreach $md (@md) - { $md->update($_); } - } - -foreach (@md) - { - $digest=$_->final(); - printf "%-4s=%s\n",$_->name(),unpack("H*",$digest); - } - |