Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Encrypting an executable with pp

by tobyink (Abbot)
on Jun 25, 2013 at 19:18 UTC ( #1040647=note: print w/ replies, xml ) Need Help??


in reply to Encrypting an executable with pp

-s signs; it doesn't encrypt. Signing and encryption are different. If I sign a cheque, you can still read it.

PAR::Packer doesn't offer encryption. There would be practical difficulties with encrypting an executable: Perl would need to decrypt it to run it; this would necessitate packing the decryption key along with the executable, rendering the encryption pretty worthless.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name


Comment on Re: Encrypting an executable with pp
Download Code
Replies are listed 'Best First'.
Re^2: Encrypting an executable with pp
by Anonymous Monk on Jun 25, 2013 at 19:35 UTC
    Is there anyway to encrypt it then? Is it possible to have it so that if the executable is turned into a zip then that zip has a password?

      Sure, there are lots of encryption solutions out there, from zip files with passwords over openssl to gnupg. They all have in common that you need to decrypt the files before feeding them perl, so they don't have to do anything with perl at all.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1040647]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2015-07-29 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls