Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Digest::MD5 2.51

    Download button

    No screenshots available
    Downloads: 486  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.7/5)
    9 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Gisle Aas | More programs
    Perl Artistic License / FREE
    July 6th, 2010, 09:27 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Digest::MD5 description

    A Perl interface to the MD5 algorithm

    Digest::MD5 is a Perl interface to the MD5 algorithm.

    SYNOPSIS

    # Functional style
    use Digest::MD5 qw(md5 md5_hex md5_base64);

    $digest = md5($data);
    $digest = md5_hex($data);
    $digest = md5_base64($data);

    # OO style
    use Digest::MD5;

    $ctx = Digest::MD5->new;

    $ctx->add($data);
    $ctx->addfile(*FILE);

    $digest = $ctx->digest;
    $digest = $ctx->hexdigest;
    $digest = $ctx->b64digest;


    The Digest::MD5 module allows you to use the RSA Data Security Inc. MD5 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.

    Note that the MD5 algorithm is not as strong as it used to be. It has since 2005 been easy to generate different messages that produce the same MD5 digest. It still seems hard to generate messages that produce a given digest, but it is probably wise to move to stronger algorithms for applications that depend on the digest to uniquely identify a message.

    The Digest::MD5 module provide a procedural interface for simple use, as well as an object oriented interface that can handle messages of arbitrary length and which can read files directly.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    MD5 algorithm | MD5 interface | Perl module | MD5 | algorithm | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM