Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to use Crypt::Module

by afoken (Chancellor)
on May 17, 2017 at 07:21 UTC ( #1190443=note: print w/replies, xml ) Need Help??


in reply to How to use Crypt::Module

Sigh. You can't encrypt Perl scripts.

Well, you can, but it won't help. At least not against someone who is bored, has a little bit of spare time, or a little bit of motivation.

In any case, you have to deliver the encypted script, the decryption key, and the decryption algorithm. Delivering all three part means that anyone can replace the call to "evaluate this script" with "print this script". Omit any of the three parts and you can not execute the script. There is no way to change that.

More information:

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2023-12-08 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (37 votes). Check out past polls.

    Notices?