Crypt::Blowfish / Crypt::CBC

Reply

Join Date: Jul 2008
Posts: 7
Reputation: Didiera is an unknown quantity at this point 
Solved Threads: 0
Didiera Didiera is offline Offline
Newbie Poster

Crypt::Blowfish / Crypt::CBC

 
0
  #1
Jul 9th, 2008
Hi i'm trying to write a decryption code to process encrypted files. I have the error below whenever I try to initialise an cypher object of type Crypt::CBC and supplying 'Blowfish' as decryption algorithm, I get the following

C:\>decrypt.pl
Couldn't load Crypt::Blowfish: Can't locate loadable object for module Crypt::Bl
owfish in @INC (@INC contains: C:\oracle\ora10g\perl\5.8.3\lib\MSWin32-x86 C:\or
acle\ora10g\perl\5.8.3\lib C:\oracle\ora10g\perl\5.8.3\lib\MSWin32-x86 C:\oracle
\ora10g\perl\site\5.8.3 C:\oracle\ora10g\perl\site\5.8.3\lib/MSWin32-x86-multi-t
hread C:\oracle\ora10g\perl\site\5.8.3\lib C:\oracle\ora10g\sysman\admin\scripts
C:/Perl/site/lib C:/Perl/lib .) at (eval 1) line 1
Compilation failed in require at (eval 1) line 1.
at C:\decrypt.pl line 9
It looks like i'm missing some perl module here but I don't wish to have to download and compile it with CPAN and make since I get a weird message stating that my make version might not be up to date or something. But my point is that I cannot spend so much time developing this module...I need a quicky fix/workaround

regards,
Didier
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #2
Jul 9th, 2008
looks like you are on Windows, so I assume you are using activeperl. For that you use the PPM application to install modules. Read the activeperl documentation for instructions on using PPM. There is no compling involved.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 7
Reputation: Didiera is an unknown quantity at this point 
Solved Threads: 0
Didiera Didiera is offline Offline
Newbie Poster

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #3
Jul 9th, 2008
Originally Posted by KevinADC View Post
looks like you are on Windows, so I assume you are using activeperl. For that you use the PPM application to install modules. Read the activeperl documentation for instructions on using PPM. There is no compling involved.
Thanks for the suggestion but the fact is that I have already been through these steps and I have browsed the GUI ppm module for these missing packages/modules... the fact is that I don't find Crypt-Blowfish or Crypt-DES either... moreover the only version of Crypt-CBC available on activeState is 2.24 while I see newer version on CPAN (2.29). I'm in a bit of a mess with these Perl modules and since i'm a newbie, it's a real pain for me to figure out the fastest way out of this mess. Sorry i'm running out of time on this and would appreciate help.

regards,
Didier
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 7
Reputation: Didiera is an unknown quantity at this point 
Solved Threads: 0
Didiera Didiera is offline Offline
Newbie Poster

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #4
Jul 9th, 2008
...ok I just saw that I could add more repository sources... this might be a solution for my problem. I'll keep you guys informed

Cheers =)
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #5
Jul 9th, 2008
You can add repositories but there are a lot of modules that have never been ported to PPM. You can download modules and put them in a folder of your choice and use the lib pragma to include the folders in @INC. Sometimes this is difficult if there are a lot of modules and sub modules but it is doable. Or maybe someone can help with installing CPAN modules into your activeperl libraries, or ask on www.perlmonks.com.

Some PPM repositories that are good:

http://theoryx5.uwinnipeg.ca/ppms
http://www.bribes.org/perl/ppm/
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #6
Jul 9th, 2008
This is a more drastic option, you can try www.strawberryperl.com which is a windows port of perl that uses the standard CPAN interface.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 7
Reputation: Didiera is an unknown quantity at this point 
Solved Threads: 0
Didiera Didiera is offline Offline
Newbie Poster

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #7
Jul 10th, 2008
Thanks a lot for all the info, I'll try each solution out today. Don't worry i'm having a backup solution anyway; but i think it will be ok. By the way the strawberry on the welcome page gave me a bit of a crave for strawberries...hmmm I'm gonna get myself a box at lunch =) ...me want strawberry and whipped cream!

cheers,
Didier
Last edited by Didiera; Jul 10th, 2008 at 12:13 am.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 7
Reputation: Didiera is an unknown quantity at this point 
Solved Threads: 0
Didiera Didiera is offline Offline
Newbie Poster

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #8
Jul 11th, 2008
I know this has been going on for a long time and I do hope you're not getting bored. I have opted for the Strawberry proposal. I installed it and then tried upgrading its packages via CPAN Client... the first time I launched it, I had an error stating that perl58.dll was missing. I got it back from the Internet and dropped it in my System32 folder...now whenever I retry to launch CPAN Client, the thing produces an unexpected error.
Could you please advise on solving this issue or propose an altername solution.

I had previous installations of Perl which I uninstalled the proper way. I don't think something might have gone wrong on this side.

regards,

Didier
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 7
Reputation: Didiera is an unknown quantity at this point 
Solved Threads: 0
Didiera Didiera is offline Offline
Newbie Poster

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #9
Jul 11th, 2008
That cryptography thing is really giving me a hard time
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: Crypt::Blowfish / Crypt::CBC

 
0
  #10
Jul 11th, 2008
I'm sorry but I can not help with issues of running or installing strawberryperl. I have installed it on a couple of of Windows PCs (XP and 2000) and it ran fine for me.

Maybe one of the resources listed on the strawberryperl website can assist you:

http://strawberryperl.com/support.html
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Perl Forum


Views: 2896 | Replies: 10
Thread Tools Search this Thread



Tag cloud for Perl
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC