Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>

WEEK'S BEST

  • BackTrack 5 R1
  • Wine 1.2.3 / 1.4 RC3
  • Mozilla Firefox 10...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.3 LTS
  • Linux Kernel 3.2.6
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.1
  • Home > Linux > Programming > Perl Modules

    Digest::SHA1 1.2.13

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Peter C. Gutmann, Uwe Hollerbach and Gisle Aas | More programs
    Perl Artistic License / FREE
    July 26th, 2007, 08:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Digest::SHA1 description

    A Perl interface to the SHA-1 algorithm

    Digest::SHA1 is a Perl interface to the SHA-1 algorithm.

    SYNOPSIS

    # Functional style
    use Digest::SHA1 qw(sha1 sha1_hex sha1_base64);

    $digest = sha1($data);
    $digest = sha1_hex($data);
    $digest = sha1_base64($data);
    $digest = sha1_transform($data);


    # OO style
    use Digest::SHA1;

    $sha1 = Digest::SHA1->new;

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

    $sha1_copy = $sha1->clone;

    $digest = $sha1->digest;
    $digest = $sha1->hexdigest;
    $digest = $sha1->b64digest;
    $digest = $sha1->transform;


    The Digest::SHA1 module allows you to use the NIST SHA-1 message digest algorithm from within Perl programs. The algorithm takes as input a message of arbitrary length and produces as output a 160-bit "fingerprint" or "message digest" of the input.

    The Digest::SHA1 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:

    SHA-1 algorithm | SHA-1 interface | Perl interface | Digest | SHA-1 | algorithm



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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