• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

Perl md5 installation on windows platform on perl version 5.0 nhow to use the md5 to hash password

Its for windows and perl version


I am trying to encrypt a password using MD5 perl hash algorithm but while doing so im getting the error: "can't locate loadable object for module Digest::MD5 in @INC.

How do i install the missing file, please tell me the steps to follow,i really need this.

use MD5;
$Password="chitra";
$md5 = new MD5;
$hash = MD5->hexhash(MD5->hexhash ($Password));
print "$hash\n";
-----------------------------------------------------
I try using this code but it need MD5.pm how do i install this file
use Digest::MD5  qw(md5 md5_hex md5_base64);
$Pass="chitra";
$digest = md5($Pass);
print "$digest\n";

I tried typing ppm, then search digest but I did not get any result ie I dont see Digest-Perl-MD5. Could you plz give me a solution. Where do I get the Digest-Perl-MD5 algorithm and where do I save it to install in is it in the bin directory of perl. Im a bit confuse I dont know what to do plz help.

Plz tell me where to get the Perl-MD5 hash algorithm, where do I save it and how do I install it, and the code to use to call it inorder to get a hash value of a particular password.


THe error when i am install md5 is as follows:"cannot locate PPD file for package md5
0
sobhunv
Asked:
sobhunv
1 Solution
 
plop_____Commented:
PPM seems to have Digest-Perl-MD5 now.

In the PPM shell, enter install Digest-Perl-MD5

I'm running ActivePerl 5.6, not 5.8, so maybe they haven't added it to the 5.8 repository.
0
 
jmcgOwnerCommented:
Nothing has happened on this question in over 7 months. It's time for cleanup!

My recommendation, which I will post in the Cleanup topic area, is to
accept answer by plop_____ [grade B].

Please post any comments here within the next seven days. Moderators check comments here before acting on the recommendation. Experts: silence will likely be taken as assent.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now