Hello, Recently I got a PERL program written that will encrypt file using Blowfish.

The prefered spelling is "Perl", not "PERL".

What is difference between Blowfish and Blowfish_PP? Will the output differ if I change Blowfish to Blowfish_PP?
The file cryptdata.pl has the following line: use Crypt::Blowfish;. [...] can I change the line to use Crypt::Blowfish_PP; using NotePad?

Hopefully, speed is the only difference. Try it.

can I change the line:
my $proc = new Crypt::Blowfish $key_valid;
to
my $proc = new Crypt::BlowfishPP $key_valid;

That should be
my $proc = new Crypt::Blowfish_PP $key_valid;

The source file has: my $key = "My key" Now this key is in pure text format. How can I encrypt this key itself?

That won't accomplish what you desire, since you'd then need another plaintext key to decrypt the key.

You have two options:

If this is not possible, then can I compile this cryptdata.pl file into an executable?

FAQ. Making an executable doesn't hide anything. It'll still be just as visible to the trained eye.


In reply to Re: PERL And Blowfish by ikegami
in thread PERL And Blowfish by vjj

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.