ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePerl 5.10
Modules
ActivePerl
ActiveState
Algorithm
AnyDBM File
Archive
Attribute
AutoLoader
AutoSplit
B
Benchmark
Bit
Bundle
Carp
CGI
Class
Compress
Config
CORE
CPAN
CPANPLUS
Crypt
Cwd
Data
Date
DB
DBD
DBI
DBM Filter
DB File
Devel
Digest
DirHandle
Dumpvalue
DynaLoader
Encode
English
Env
Errno
Exporter
ExtUtils
Fatal
Fcntl
File
FileCache
FileHandle
Filter
FindBin
Font
GD
Getopt
Hash
HTML
HTTP
I18N
IO
IPC
JSON
List
Locale
Log
LWP
lwpcook
lwptut
Mac
MacPerl
Math
MD5
Memoize
MIME
MLDBM
Module
NDBM File
Net
NEXT
O
Object
Opcode
Oraperl
Package
Params
perl5db
PerlEx
PerlIO
perllocal
Pod
POSIX
Roadmap
Safe
Scalar
SDBM File
Search
SelectSaver
SelfLoader
Shell
Socket
SQL
Storable
Sub
Switch
Symbol
Sys
TASKS
Tcl
Term
Test
Text
Thread
Tie
Time
Tkx
Unicode
UNIVERSAL
URI
User
Win32
Win32API
Win32CORE
WWW
XML
XSLoader
YAML

MyASPN >> Reference >> ActivePerl 5.10 >> Modules
ActivePerl 5.10 documentation

NAME

MD5 - Perl interface to the MD5 Message-Digest Algorithm


SYNOPSIS

 use MD5;
 $context = new MD5;
 $context->reset();
 $context->add(LIST);
 $context->addfile(HANDLE);
 $digest = $context->digest();
 $string = $context->hexdigest();
 $digest = MD5->hash(SCALAR);
 $string = MD5->hexhash(SCALAR);


DESCRIPTION

The MD5 module is depreciated. Use Digest::MD5 instead.

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.

In addition to the methods provided for Digest::MD5 objects, this module provide the class methods MD5->hash() and MD5->hexhash() that do the same as the md5() and md5_hex() functions provided by Digest::MD5.


SEE ALSO

the Digest::MD5 manpage


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved