On 2 Mar 2005 Erbacher Karl wrote: > I'm not sure if this is even a PHP question, but I'm hoping someone can help > me. I need to encipher data to be stored in a database and then I need to be > able to decipher it to use it. I was thinking of using DES and I obtained a > pair of keys, but I'm not sure where to go from there. I've scoured the > internet for help, but I just can't figure out which is the best way to do > what I need to do. You could look at http://www.php.net/manual/en/ref.mcrypt.php. mcrypt supports a long list of ciphers, including triple DES. I usually Blowfish for the purpose you describe, though I can't remember exactly why right this second -- I did some research at one point and concluded it was the best for my purposes. -- Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php