OverlordQ has asked for the wisdom of the Perl Monks concerning the following question:

Greetings monks, I'm writing, well trying to write actually, a quick n dirty message encoder. A good example would be Spam Mimic I dont really want a full blown encryption standard ala PGP. I'm just looking for a good perl module that can provide reasonably good encryption for everyday use. I've been looking at Crypt::Simple and Crypt::TEA. Are there any others I should look at? Any personal prefrences? Thank you for your time.

Replies are listed 'Best First'.
Re: Perl Crypt Modules
by DrManhattan (Chaplain) on Apr 25, 2003 at 00:30 UTC
Re: Perl Crypt Modules
by Zaxo (Archbishop) on Apr 24, 2003 at 23:41 UTC

    There is no point in using weak encryption. Strong methods are just as easy to use, and generally better implemented. Weak ones tend to lull users into indiscretions by giving the impression that they accomplish something.

    In a messaging application, key distribution is as important as cryption. Standards like PGP support key handling.

    After Compline,
    Zaxo

Re: Perl Crypt Modules
by Abigail-II (Bishop) on Apr 25, 2003 at 00:03 UTC
    I'd use rot13.

    Abigail (if rot5 was good enough for Ceasar, rot13 is good enough for the world)

      Howdy!

      No. That is not good enough. How about rot26. That ought to be big enough...

      yours,
      Michael

      Edit: Lemme rephrase my question. I meant I wan't looking for a 'complicated' encryption standard ala PGP with public/private keys, key exchange, et triple cetra. I was simply looking for a good module that can provide a good strong encryption. Something along the lines of Crypt::Simple or Crypt::CBC which uses other Crypt modules. I was simply asking if anybody could suggest a better.
        I dont really want a full blown encryption standard ala PGP
        I was looking more towards a cipher that couldn't be broken in 5 minutes.

        You can't have your cake and eat it. rot13 fits the first requirement, PGP fits the second. Your choice.

        Abigail