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

Hola Monks,

I am searching for the best way to do lite-weight compression and/or encryption (even though I don't know SSLeay, it seems like a lot to install, etc. I am sure it has a ton of functionality though)

I was somewhat surprised to not find: IO::Socket::INET::zlib or something like it...I did find DBI::Proxy Server, which uses RPC::PlServer and it has some built-in functionality to do this. And I could call a function to compress and uncompress the data manually. Is there a reason this hasn't been done? Or is it normally done in a way I am not aware of?

thanks for any thougths (always like thoughts before I start work on a task ;-)

Replies are listed 'Best First'.
Re: io::socket compress and/or encrypt
by Aristotle (Chancellor) on May 31, 2002 at 15:28 UTC
    You could try using Crypt::Blowfish and Compress::Zlib manually - they're really nobrainers. (Which I suspect is why there's no official IO::Socket::Zlib or something like that.)

    Makeshifts last the longest.

      that does makes sense, thanks for the feedback
Re: io::socket compress and/or encrypt
by Aristotle (Chancellor) on May 31, 2002 at 14:32 UTC
    Is there any reason you don't want to use RPC::PlServer?

    Makeshifts last the longest.

      Not using RPCs...but it does look like a cool program!!!