1MD5(3)                User Contributed Perl Documentation               MD5(3)
2
3
4

NAME

6       MD5 - Perl interface to the MD5 Message-Digest Algorithm
7

SYNOPSIS

9        use MD5;
10
11        $context = new MD5;
12        $context->reset();
13
14        $context->add(LIST);
15        $context->addfile(HANDLE);
16
17        $digest = $context->digest();
18        $string = $context->hexdigest();
19
20        $digest = MD5->hash(SCALAR);
21        $string = MD5->hexhash(SCALAR);
22

DESCRIPTION

24       The "MD5" module is depreciated.  Use "Digest::MD5" instead.
25
26       The current "MD5" module is just a wrapper around the "Digest::MD5"
27       module.  It is provided so that legacy code that rely on the old
28       interface still work and get the speed benefit of the new module.
29
30       In addition to the methods provided for "Digest::MD5" objects, this
31       module provide the class methods MD5->hash() and MD5->hexhash() that do
32       the same as the md5() and md5_hex() functions provided by
33       "Digest::MD5".
34

SEE ALSO

36       Digest::MD5
37
38
39
40perl v5.30.1                      2020-01-30                            MD5(3)
Impressum