GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DIGEST::MD2 (3)

.ds Aq ’

NAME

Digest::MD2 - Perl interface to the MD2 Algorithm

CONTENTS

SYNOPSIS



 # 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;



DESCRIPTION

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.

SEE ALSO

Digest::MD5

COPYRIGHT

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.



 Copyright 1998-2003 Gisle Aas.
 Copyright 1990-1992 RSA Data Security, Inc.



AUTHOR

Gisle Aas <gisle@aas.no>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MD2 (3) 2014-04-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.