encryption

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

encryption

Post 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.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: encryption

Post 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!
Post Reply