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. I am a VB.NET Programmer. I have installed PERL 5.8 from http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-126.96.36.1997-MSWin32-x86-257965.msi
Following are my queries:
a. The file cryptdata.pl has the following line:
But the client wants to use Crypt-Blowfish_PP and that is what I have downloaded and insgtalled. 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? Will this impact the encryption code written by the earlier programmer?
b. Also can I change the line:
my $proc = new Crypt::Blowfish $key_valid;
my $proc = new Crypt::BlowfishPP $key_valid;
c. The source file has:
my $key = "My key"
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?
d. What is difference between Blowfish and Blowfish_PP? Will the output differ if I change Blowfish to Blowfish_PP?