MAN page from Fedora 28 perl-MD5-2.03-27.fc28.noarch.rpm
Section: User Contributed Perl Documentation (3)
MD5 - Perl interface to the MD5 Message-Digest Algorithm
use MD5; $context = new MD5; $context->reset(); $context->add(LIST); $context->addfile(HANDLE); $digest = $context->digest(); $string = $context->hexdigest(); $digest = MD5->hash(SCALAR); $string = MD5->hexhash(SCALAR);
module is depreciated
. Use "Digest::MD5"
The current "MD5" module is just a wrapper around the "Digest::MD5"module. It is provided so that legacy code that rely on the oldinterface still work and get the speed benefit of the new module.
In addition to the methods provided for "Digest::MD5" objects, thismodule provide the class methods MD5->hash() and MD5->hexhash() thatdo the same as the md5() and md5_hex() functions provided by"Digest::MD5".
- SEE ALSO
This document was created byman2html,using the manual pages.