Digest::MD2(3pm)

Digest::MD23pm

Perl interface to the md2 algorithm

Usage

 # Functional style
 use Digest::MD2  qw(md2 md2_hex md2_base64);
 $digest = md2($data);
 $digest = md2_hex($data);
 $digest = md2_base64($data);
 # OO style
 use Digest::MD2;
 $ctx = Digest::MD2->new;
 $ctx->add($data);
 $ctx->addfile(*FILE);
 $digest = $ctx->digest;
 $digest = $ctx->hexdigest;
 $digest = $ctx->b64digest;

Overview

The "Digest::MD2" module allows you to use the RSA Data Security Inc. MD2 Message Digest algorithm from within Perl programs. The algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input.

The "Digest::MD2" programming interface is identical to the interface of "Digest::MD5".

Releases

13 releases since Debian 2.2 (Potato); the text changed 12 times.

  1. 2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0
  6. 6.0
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13

Author

Gisle Aas <[email protected]>

From libdigest-md2-perl 2.04+dfsg-2+b4 in Debian 13 (Trixie). Parsed by carta from the page's man source.