Re: simple encryption/decryption

nospam_at_geniegate.com
Date: 02/18/05

  • Next message: Davidhope69_at_hotmail.com: "Re: Net::IRC Woes"
    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
    

  • Next message: Davidhope69_at_hotmail.com: "Re: Net::IRC Woes"

    Relevant Pages

    • Re: simple encryption/decryption
      ... >encryption/decryption of arbitrary length strings? ... >it does not need to very secure but must be able to encrypt and decrypt ... the original data) It'd probably work to keep grep from finding your string ...
      (comp.lang.perl.misc)
    • Re: simple encryption/decryption
      ... > encryption/decryption of arbitrary length strings? ... > it does not need to very secure but must be able to encrypt and decrypt ... I would of course :-) recommend ... a CBC implementation built in and do arbitrary length strings. ...
      (comp.lang.perl.misc)
    • Re: simple encryption/decryption
      ... > encryption/decryption of arbitrary length strings? ... > it does not need to very secure but must be able to encrypt and decrypt ... I would of course :-) recommend ... a CBC implementation built in and do arbitrary length strings. ...
      (comp.lang.perl.modules)
    • simple encryption/decryption
      ... encryption/decryption of arbitrary length strings? ... it does not need to very secure but must be able to encrypt and decrypt ...
      (comp.lang.perl.modules)
    • simple encryption/decryption
      ... encryption/decryption of arbitrary length strings? ... it does not need to very secure but must be able to encrypt and decrypt ...
      (comp.lang.perl.misc)