Re: perl source code encryption
- From: anirban.adhikary@xxxxxxxxx (Anirban Adhikary)
- Date: Wed, 30 Apr 2008 11:22:27 +0530
I Have gone through google and CPAN and finds some information over there .
can it be helpful for completion my purpose. U people please suggest.
If my program name is rundbload.pl
perl -MO=Bytecode,-H,-b,-k,orundbload rundbload.pl
http://search.cpan.org/~nwclark/perl-5.8.8/ext/B/B/Bytecode.pm
perl -MO=Bytecode,-H,-b,-k,-orundbload rundbload.pl
On Wed, Apr 30, 2008 at 11:01 AM, Chas. Owens <chas.owens@xxxxxxxxx> wrote:
On Wed, Apr 30, 2008 at 1:11 AM, Anirban Adhikary
<anirban.adhikary@xxxxxxxxx> wrote:
Dear listcode.
I want to encrypt my perl source code. I am using some modules in my
Among them some are downloaded from CPAn as well as some are written bymy
-self. So how to encrypt all perl codes includes the modules.
Thanks&Regards in advance
Anirban Adhikary
Short answer: It is a bad idea and there is no good way.
Long answer: You can encrypt the source if you want, but if you are
going to let a user run your code, perl will have to see unencrypted
code at some point and the user can capture the code at that point.
You could also obfuscate the code, but this has similar problems. You
can even recover the source code from PAR archives and executables.
If all you are trying to do is add a hurdle for them to jump take a
look at PAR* and PAR::Packer**. These have the benefit of adding
value in addition to making it harder to see the source.
* http://search.cpan.org/dist/PAR/lib/PAR.pm
** http://search.cpan.org/dist/PAR-Packer/lib/PAR/Packer.pm
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
- Follow-Ups:
- Re: perl source code encryption
- From: Chas. Owens
- Re: perl source code encryption
- References:
- perl source code encryption
- From: Anirban Adhikary
- Re: perl source code encryption
- From: Chas. Owens
- perl source code encryption
- Prev by Date: Re: perl source code encryption
- Next by Date: Re: Formatting output after search and replace
- Previous by thread: Re: perl source code encryption
- Next by thread: Re: perl source code encryption
- Index(es):
Relevant Pages
|
|