Perl - my Modules

1.4 Crypt::Lite


28.08.2008
You are here iC Home > Perl > my Modules > Perl Modules > Crypt::Lite
1.3 Theodor::Wagner [  up  ] - [ A - Z ] - [ Search PC ] - [ Top of Modules ] 1.4.1 Online Demo

[ Crypt::Lite @ CPAN ] - [ Crypt::Lite as rpm: dag.wieers.com - rpm.pbone.net ]

[ Crypt (Text) Files ] - [ Crypt::Lite FAQ's ]


Introduction

Sometimes it's necessary to protect some certain data against plain reading or you intend to send information through the Internet where SSL would be an overkill. Another reason might be to assure users cannot modify their previously entered data in a follow-up step of a long Web transaction where you don't want to deal with server-side session data. The goal of Crypt::Lite is to have a pretty simple way to encrypt and decrypt data without the need to install and compile huge packages.


Installation

The easy part ;-) All you have to do is making a directory called "Crypt" at your current working directory (e.g. your cgi-bin) or at any location specified in the @INC search path array and put the file "Lite.pm" there.

Have you used My::Crypt before?
Make sure you're using release 0.82.08 at least.

There is an improved security and portabilty. You don't have to consider anything if you're making instant encryption / decryption while you do this update. Data encrypted with the initial release of My::Crypt may not be converted back to plain text by using the latest release, that means you had to re-encrypt your hashes.

If you're curious, try to double-decrypt this double-encrypted hash with the
cipher mypass and see me on the bridge of the starship Enterprise:
Double-encrypted:
Hint: Make sure to copy the full length of the hash, it's longer than the input field.


Usage

Crypt::Lite SYNOPSIS

Live Demo

[ https free service ]

Text
Cipher
encrypt decrypt
base64 hex8

Decryption

Text <- base64 hex8
Cipher

>> Source code of this cgi script above <<



To Do's

None at this time.

Done's

Will add an additional encrypt parameter for CGI-safe hashes.

 
1.1   CMS::MediaWiki
1.2   My::PGPFindkey
1.3   Theodor::Wagner
1.4   Crypt::Lite
 1.4.1  Online Demo
1.5   Website
1.6   RTF




Advanced search tips
1.3 Theodor::Wagner [  up  ] - [ top of Modules ] - [ top of Perl ] 1.4.1 Online Demo



[ home ] - [ search ] - [ feedback ]

copyright by reto - created with mytexi