Lots of people will tell you to use PGP. However since PGP is not *free*, in that you cannot use it for commercial purposes without a license, I avoid it. Also it has to be downloaded and installed as most systems do not include it because of it's non-free open source status.
The best alternative I found is OpenSSL. Yes it does key management, creation, encryption, decryption and even SMIME EMAIL! That's right you can even send encrypted emails with it. Try 'man smime' on a linux system for the email portion. Also, 'man rsautl' for just encryption and decryption of an arbitrary string. Hope I've been helpful, Drew Lopucki Mrdrew.com [EMAIL PROTECTED] -----Original Message----- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 2:19 AM To: [EMAIL PROTECTED] Subject: [PHP] Anybody have a function to encode a string? I need a function that encodes stuff, with a key. It, of course, needs to be decodable too. Does anbody know/have a function like this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php