Re: simple encryption/decryption
nospam_at_geniegate.com
Date: 02/18/05
- Previous message: Jonathan Stowe: "Re: Net::IRC Woes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 18 Feb 2005 15:37:10 GMT
In: <csj6h7$nc7$1@oden.abc.se>, stig <_nospam_stigerikson@yahoo.se> wrote:
>hi.
>which perl-module(s) can be used to implement very simple
>encryption/decryption of arbitrary length strings?
>it does not need to very secure but must be able to encrypt and decrypt
>(not only one way).
>
>for various reasons Crypt::Simple will not be a possible choice, are
>there any other modules that you can recommend?
>
>many thanks
>stig
y/A-Za-z/N-ZA-Mn-za-m/;
Works both ways, plus it's really simple! :-)
You could also just XOR the data and back again.. a bit more "secure" than
above, but still fairly simple and easily broken. (Kid-sister scrambling unless
you've got a secure channel to transfer the XOR chunk back and forth, AND are
able to generate a new key each time, AND those keys are identical in length to
the original data) It'd probably work to keep grep from finding your string
though.
Jamie
-- http://www.geniegate.com Custom web programming guhzo_42@lnubb.pbz (rot13) User Management Solutions
- Previous message: Jonathan Stowe: "Re: Net::IRC Woes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|