• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ChangesH A D18-Jan-2004619 2417

Digest-MD4.pmH A D14-Aug-2002600 3721

MANIFESTH A D14-Aug-200272 87

MD4.pmH A D18-Jan-20048.2 KiB347129

Makefile.PLH A D14-Aug-2002292 96

READMEH A D18-Jan-20041.7 KiB5742

test.plH A D18-Jan-20042.2 KiB7445

README

1NAME
2    Digest::Perl::MD4 - Perl implementation of Ron Rivests MD4
3    Algorithm
4
5DISCLAIMER
6    This is not C-code interface (like `Digest::MD5') but a Perl-only
7    implementation of MD4 (like `Digest::Perl::MD5'). Because of this, it is
8    slow but avoids platform specific complications. For efficiency you
9    should use `Digest::MD4' instead of this module if it is available.
10
11SYNOPSIS
12     # Functional style
13     use Digest::Perl::MD4 qw(md4 md4_hex md4_base64);
14
15     $hash = md4 $data;
16     $hash = md4_hex $data;
17     $hash = md4_base64 $data;
18
19     # OO style
20     use Digest::Perl::MD4;
21
22     $ctx = Digest::Perl::MD4->new;
23
24     $ctx->add($data);
25     $ctx->addfile(*FILE);
26
27     $digest = $ctx->digest;
28     $digest = $ctx->hexdigest;
29     $digest = $ctx->b64digest;
30
31MANIFEST
32
33README		This file.
34MD4.pm		The Perl code implementing Rivest's MD4 algorithm.
35Digest-MD4.pm	A wrapper module called Digest::MD4.
36test.pl		A test program for the MD4 module.
37
38The MD4 module's interface should be compatible with the C-code MD4
39module written by Mike McCauley <mikem@open.com.au>.  The Digest-MD4.pm
40is provided which makes the MD4 module available as the shorter module
41Digest::MD4.  It should *not* be installed as is if Mike's module is
42already installed.  If you want both of these installed (e.g. multiple
43platforms are using the same installation), the adaptive aspects of
44Digest-MD4.pm will have to be merged with the Mike's actual MD4.pm code.
45
46Assuming "Perl-site-lib" is one of the directories listed in @INC,
47install the module like this:
48
49file		Perl-site-lib
50----		------------------
51MD4.pm		Digest/Perl/MD4.pm
52Digest-MD4.pm	Digest/MD4.pm		# if C-code MD4 is NOT installed
53
54AUTHOR
55
56Ted Anderson <tedanderson@mindspring.com>
57