Where to get md5 perl algorithm and how to install and use md5 perl hashing algorithm to get a hash value of a password

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 don’t 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 don’t 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.
sobhunvAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PC_User321Commented:
Windows or unix?
0
PC_User321Commented:
If you are having trouble with PPM it might be because of a fire-wall.  Consult the help.

Failing that, try this:
Go to http://ppm.activestate.com/PPMPackages/zips/5xx-builds-only  and download the zip file that you want.
Follow the instructions in the README file.
0
sobhunvAuthor Commented:
Its for windows


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.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

sobhunvAuthor Commented:
Its for windows 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

0
rj2Commented:
sobhunv,
You don't say which ActiveState version you have, use
this URL instead and select correct version, you probably have 6xx or 8xx, not 5xx.
http://ppm.activestate.com/PPMPackages/zips/

You see your Perl version  by running "perl -v" from the command line.
0
PC_User321Commented:
How did you go with the Zip file I suggested?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sobhunvAuthor Commented:
Hi PC User321

yes i did downloaded the MD5 and and PPM from there but i am getting an error "Cannot extract PPD file for package MD5"

I am using windows and the version of perl i don't know actually its an old version.

I think there are new version of perl which support md5. Which version is zat and where can i download zat i really need the md5 to encrypt password for my project and i have no much time plzzz help.

the code i am using are as follows

use Digest::MD5  qw(md5 md5_hex md5_base64);
$Pass="chitra";
$digest = md5($Pass);
print "$digest\n";

are they correct

0
Willman023Commented:
Whenever I'm missing modules, i go to www.cpan.org and do a search on the module I'm missing.  Then download the module to the lib folder of the perl directory.  If its File::Find, then Find.pm would be placed in /perl/lib/File.

bW
0
sobhunvAuthor Commented:
the modules from www.cpan.org are unix operating system. Im using windows.
0
Willman023Commented:
Correction, the modules on cpan.org are operating system independant.  If you use ActivePerl or another windows application to run perl the modules will work there as well.  I don't know where you read that they are only for unix, but the only difference would be the she-bang line if any...which goes for different unix installations too.

bW
0
jmcgOwnerCommented:
Nothing has happened on this question in over 8 months. It's time for cleanup!

My recommendation, which I will post in the Cleanup topic area, is to
split points between PC_User321 [60 pts], rj2 [20 pts] and Willman023 [20 pts].

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.