Broad Network


PurePerl US Secure Hash Algorithm 1

Foreword: This page has the free download link to a PurePerl code for PurePerl US Secure Hash Algorithm 1

By: Chrysanthus Date Published: 29 Jan 2015

Summary

Secure Hash Algorithm 1, abbreviated as SHA1 or SHA_1 or SHA-1 is a popular encryption scheme for a binary message. A binary message is a string consisting of 1’s and 0’s. This encryption is used in the authentication process to access the MySQL server databases. PurePerl stands for Pure Perl. It is Perl software without any C software underneath.

When a binary message of any length < 2^64 bits is input, the SHA-1 produces a 160-bit output called a Message Digest. The SHA-1 is called secure because it is computationally infeasible to find a message which corresponds to a given message digest, or to find two different messages which produce the same message digest. 160 bits is 20 bytes.

This page leads you to SHA1 written in PurePerl.

Discussion Group
The discussion group for this software is at:

Coding by Hand

You may have to register, free, first.

Downloading and Using
The SHA1 is in one file in PurePerl. It is in a Perl package called, Sha1 in a file called, Sha1.pm. The package (module) has one function, sha1() used in your script as follows:

    use Mysql::Sha1;
    my $message_digest = Sha1::sha1($binary_message);

Note: binary_message has to be text.

The file is in a zipped directory called, PurePerl-sha1.zip . To download it free, click the following link, after reading the agreement:

PurePerl SHA1

More Related Links
Perl Mailsend
PurePerl MySQL API
Perl Course - Professional and Advanced
Major in Website Design
Web Development Course
Producing a Pure Perl Library
MySQL Course

NEXT

Comments

Become the Writer's Fan
Send the Writer a Message