Digest::MD23pm
Perl interface to the md2 algorithm
Usage
# Functional styleuse Digest::MD2 qw(md2 md2_hex md2_base64);$digest = md2($data);$digest = md2_hex($data);$digest = md2_base64($data);# OO styleuse 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.