Page 1 of 1

encryption

Posted: Thu Sep 09, 2004 10:04 am
by kettle_drum
Anybody know of any php implementations of encryption such as AES or blowfish that could be used in a script to secure data before it goes into a database.

Would it be best to implement it like this or use something built into php such as mcrypt?

Any other suggestions?

Thanks.

Re: encryption

Posted: Thu Sep 09, 2004 5:44 pm
by Roja
kettle_drum wrote:Anybody know of any php implementations of encryption such as AES or blowfish that could be used in a script to secure data before it goes into a database.

Would it be best to implement it like this or use something built into php such as mcrypt?

Any other suggestions?

Thanks.
The mcrypt implementation of blowfish is fairly close to ideal. In any case where you *can* use the mcrypt implementation, you should.

In cases where you can't (deployment platform doesnt have it), I'm not aware of any AES or blowfish implementations in PHP (other than mcrypt-based-systems).

If you find any, I'd also be very interested in it!