IT Community - Software Programming, Web Development and Technical Support

Perl encrypt programs

This is a discussion on Perl encrypt programs within the Perl forums, part of the Software Development category; Is there and perl encrypt programs ?? please help me !!...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Perl

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 10-17-2007, 07:07 AM
LEO LEO is offline
D-Web Trainee
 
Join Date: Sep 2007
Posts: 2
LEO is on a distinguished road
Exclamation Perl encrypt programs

Is there and perl encrypt programs ??
please help me !!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-29-2007, 11:30 AM
ragavraj ragavraj is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 87
ragavraj is on a distinguished road
Default Re: Perl encrypt programs

Lot of Encryption method avialble in perl

like md5,ARC4 Base64 etc

i have given AES String Encryption

PHP Code:
use chilkat;
$crypt = new chilkat::CkCrypt2();
$success $crypt->UnlockComponent("Anything for 30-day trial");
if (
$success != 1) {
    print 
"Crypt component unlock failed" "\n";
    exit;
}

$password "secretPassPhrase";
$crypt->put_CryptAlgorithm("aes");
$crypt->put_CipherMode("cbc");
$crypt->put_KeyLength(128);
$hexKey $crypt->genEncodedSecretKey($password,"hex");
$crypt->SetEncodedKey($hexKey,"hex");
$crypt->put_EncodingMode("base64");
$text "The quick brown fox jumped over the lazy dog.";
$encText $crypt->encryptStringENC($text);
print 
$encText "\r\n";
$decryptedText $crypt->decryptStringENC($encText);
print 
$decryptedText "\r\n"
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can we encrypt the username and password using PHP? sundarraja PHP Programming 3 05-15-2008 06:29 AM
If any possible for Html page encrypt sathian HTML, CSS and Javascript Coding Techniques 1 12-03-2007 07:52 PM
How to set Perl Interpreter within perl script sivaramakrishnan Perl 1 07-19-2007 05:45 AM
How to encrypt app.config file in .net.? bluesky C# Programming 0 07-17-2007 09:59 PM
Code to encrypt the Password or any string hanusoftware ASP and ASP.NET Programming 0 07-05-2007 01:58 AM


All times are GMT -7. The time now is 09:09 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0