ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
Fw: Text Encrypt and Decryption
by Kprasad other posts by this author
Oct 19 2009 5:11AM messages near this date
view in the new Beta List Site
Re: Cronjob and System command in Perl Script | Text Encrypt and Decryption
Hi

Can anyone explain here that how pack and unpack is working here?
I'm unable to understand the syntax of these function, however it's working fine.

Kanhaiya 
----- Original Message ----- 
From: Kprasad 
To: perl-win32-users@[...].com 
Sent: Monday, October 19, 2009 3:17 PM
Subject: Text Encrypt and Decryption


Hi

Can I encrypt our perl script by using these codes?
I need suggestion that it's safe or not do encrypt and decrypt our .pl or .plx file with thi
s code.

my $obscure =  pack("u",$_);

my $unobscure = unpack(chr(ord("a") + 19 + print ""),$obscure);

Kanhaiya Prasad

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved