head	1.6;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	RELEASE_3_0_0:1.2
	RELEASE_2_2_7:1.1.1.1
	RELEASE_2_2_6:1.1.1.1
	RELEASE_2_2_5:1.1.1.1
	RELEASE_2_2_1:1.1.1.1
	RELEASE_2_2_2:1.1.1.1
	v1_7:1.1.1.1
	CPAN:1.1.1;
locks; strict;
comment	@# @;


1.6
date	2011.02.12.09.30.15;	author az;	state Exp;
branches;
next	1.5;

1.5
date	2007.09.27.18.40.42;	author tabthorpe;	state Exp;
branches;
next	1.4;

1.4
date	2006.10.31.02.15.29;	author alepulver;	state Exp;
branches;
next	1.3;

1.3
date	2004.04.10.17.11.01;	author trevor;	state Exp;
branches;
next	1.2;

1.2
date	98.08.06.15.10.02;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	96.10.24.08.37.23;	author jfitz;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.10.24.08.37.23;	author jfitz;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Fix WWW in pkg-descr to http://search.cpan.org/dist/<MODULE> for unification.

No functional changes.

Sponsored by:	p5 namespace
@
text
@The current MD5 module is just a wrapper around the Digest::MD5
module. It is provided so that legacy code that rely on the old
interface still work and get the speed benefit of the new module.

WWW: http://search.cpan.org/dist/MD5/
@


1.5
log
@- cleanup Makefile
- update comment/descripttion to indicate port is a wrapper to Digest::MD5
- pass maintainership to perl@@

Approved by:	miwi (co-mentor)
@
text
@d5 1
a5 1
WWW: http://search.cpan.org/~gaas/MD5-2.03/
@


1.4
log
@- Reformat pkg-descr, add WWW.
- Take maintainership.

PR:		ports/104235
Submitted by:	Thomas Abthorpe <thomas@@goodking.ca>
@
text
@d1 3
a3 28
The MD5 module allows you to use the RSA Data Security Inc. MD5 Message Digest
algorithm from within Perl programs.

A new MD5 context object is created with the new operation. Multiple
simultaneous digest contexts can be maintained, if desired. The context is
updated with the add operation which adds the strings contained in the LIST
parameter. Note, however, that add('foo', 'bar'), add('foo') followed by
add('bar') and add('foobar') should all give the same result.

The final message digest value is returned by the digest operation as a
16-byte binary string. This operation delivers the result of add operations
since the last new or reset operation. Note that the digest operation is
effectively a destructive, read-once operation. Once it has been performed,
the context must be reset before being used to calculate another digest value.

Several convenience functions are also provided. The addfile operation takes
an open file-handle and reads it until end-of file in 1024 byte blocks adding
the contents to the context. The file-handle can either be specified by name
or passed as a type-glob reference. The hexdigest operation calls digest and
returns the result as a printable string of hexdecimal digits.

The hash operation can act as either a static member function (you invoke it
on the MD5 class) or as a normal virtual function. In both cases it performs
the complete MD5 cycle (reset, add, digest) on the supplied scalar value. This
is convenient for handling small quantities of data. When invoked on the class
a temporary context is created. When invoked through an already created
context object, this context is used. The latter form is slightly more
efficient. The hexhash operation is analogous to hexdigest.
@


1.3
log
@Cram into 80 columns by 24 rows.
@
text
@d1 5
a5 4
	The MD5 module allows you to use the RSA Data Security Inc. MD5 Message
Digest algorithm from within Perl programs.
	A new MD5 context object is created with the new operation.  Multiple
simultaneous digest contexts can be maintained, if desired.  The context is
d9 2
a10 1
	The final message digest value is returned by the digest operation as a
d12 16
a27 14
since the last new or reset operation.  Note that the digest operation is
effectively a destructive, read-once operation. Once it has been performed, the
context must be reset before being used to calculate another digest value.
	Several convenience functions are also provided. The addfile operation
takes an open file-handle and reads it until end-of file in 1024 byte blocks
adding the contents to the context. The file-handle can either be specified by
name or passed as a type-glob reference. The hexdigest operation calls digest
and returns the result as a printable string of hexdecimal digits.
	The hash operation can act as either a static member function (you
invoke it on the MD5 class) or as a normal virtual function. In both cases it
performs the complete MD5 cycle (reset, add, digest) on the supplied scalar
value. This is convenient for handling small quantities of data. When invoked on
the class a temporary context is created. When invoked through an already
created context object, this context is used.  The latter form is slightly more
d29 2
@


1.2
log
@Compatible with perl5.00501.
@
text
@d1 24
a24 40
The MD5 module allows you to use the RSA Data Security
Inc. MD5 Message Digest algorithm from within Perl
programs.

A new MD5 context object is created with the new
operation.  Multiple simultaneous digest contexts can be
maintained, if desired.  The context is updated with the
add operation which adds the strings contained in the LIST
parameter. Note, however, that add('foo', 'bar'),
add('foo') followed by add('bar') and add('foobar') should
all give the same result.                        

The final message digest value is returned by the digest
operation as a 16-byte binary string. This operation
delivers the result of add operations since the last new
or reset operation. Note that the digest operation is
effectively a destructive, read-once operation. Once it
has been performed, the context must be reset before being
used to calculate another digest value.

Several convenience functions are also provided. The
addfile operation takes an open file-handle and reads it
until end-of file in 1024 byte blocks adding the contents
to the context. The file-handle can either be specified by
name or passed as a type-glob reference, as shown in the
examples below. The hexdigest operation calls digest and
returns the result as a printable string of hexdecimal
digits. This is exactly the same operation as performed by
the unpack operation in the examples below.

The hash operation can act as either a static member
function (ie you invoke it on the MD5 class as in the
synopsis above) or as a normal virtual function. In both        
cases it performs the complete MD5 cycle (reset, add,
digest) on the supplied scalar value. This is convenient
for handling small quantities of data. When invoked on the
class a temporary context is created. When invoked through
an already created context object, this context is used.
The latter form is slightly more efficient. The hexhash
operation is analogous to hexdigest.       
@


1.1
log
@Initial revision
@
text
@d1 3
a3 3
       The MD5 module allows you to use the RSA Data Security
       Inc. MD5 Message Digest algorithm from within Perl
       programs.
d5 7
a11 7
       A new MD5 context object is created with the new
       operation.  Multiple simultaneous digest contexts can be
       maintained, if desired.  The context is updated with the
       add operation which adds the strings contained in the LIST
       parameter. Note, however, that add('foo', 'bar'),
       add('foo') followed by add('bar') and add('foobar') should
       all give the same result.                        
d13 7
a19 7
       The final message digest value is returned by the digest
       operation as a 16-byte binary string. This operation
       delivers the result of add operations since the last new
       or reset operation. Note that the digest operation is
       effectively a destructive, read-once operation. Once it
       has been performed, the context must be reset before being
       used to calculate another digest value.
d21 9
a29 9
       Several convenience functions are also provided. The
       addfile operation takes an open file-handle and reads it
       until end-of file in 1024 byte blocks adding the contents
       to the context. The file-handle can either be specified by
       name or passed as a type-glob reference, as shown in the
       examples below. The hexdigest operation calls digest and
       returns the result as a printable string of hexdecimal
       digits. This is exactly the same operation as performed by
       the unpack operation in the examples below.
d31 10
a40 10
       The hash operation can act as either a static member
       function (ie you invoke it on the MD5 class as in the
       synopsis above) or as a normal virtual function. In both        
       cases it performs the complete MD5 cycle (reset, add,
       digest) on the supplied scalar value. This is convenient
       for handling small quantities of data. When invoked on the
       class a temporary context is created. When invoked through
       an already created context object, this context is used.
       The latter form is slightly more efficient. The hexhash
       operation is analogous to hexdigest.       
@


1.1.1.1
log
@perl5 interface to the RSA Data Security Inc. MD5 Message-Digest Algorithm
@
text
@@
