?
Solved

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

Posted on 2003-03-02
3
Medium Priority
?
294 Views
Last Modified: 2008-03-03
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
Comment
Question by:sobhunv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
plop_____ earned 400 total points
ID: 8055953
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
 
LVL 20

Expert Comment

by:jmcg
ID: 9692707
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question