vjj has asked for the wisdom of the Perl Monks concerning the following question:
Recently I got a PERL program written that will encrypt file using Blowfish. I need some changes but am unable to trace that person and I am not a PERL programmer.
Hence I would like to put following questions in this forum:
a. The file cryptdata.pl has the following line: use Crypt::Blowfish; Since I am running this under windows and the source is pure text, can I change the line to use Crypt::Blowfish_PP; using NotePad?
b. Also can I change the line:
tomy $proc = new Crypt::Blowfish $key_valid;
my $proc = new Crypt::BlowfishPP $key_valid;
c. The source file has:
Now this key is in pure text format. How can I encrypt this key itself? Otherwise programmers who will use this source file can see the key which is not good. In other words, I need to put the encrypted key and then decrypt it at run-time. If this is not possible, then can I compile this cryptdata.pl file into an executable? If yes, how? or is there any third party tool that can convert my .pl file into an exe?my $key = "My key"
d. What is difference between Blowfish and Blowfish_PP? Will the output differ if I change Blowfish to Blowfish_PP?
Regards,
VJ
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: PERL And Blowfish
by sgifford (Prior) on Apr 12, 2006 at 17:38 UTC | |
Re: PERL And Blowfish
by ikegami (Patriarch) on Apr 12, 2006 at 17:41 UTC | |
Re: PERL And Blowfish
by eric256 (Parson) on Apr 12, 2006 at 19:36 UTC | |
Re: PERL And Blowfish
by inman (Curate) on Apr 13, 2006 at 08:08 UTC |