$encrypted_data = mcrypt_ecb(MCRYPT_BLOWFISH, $key, $input, MCRYPT_ENCRYPT);

http://www.php.net/mcrypt

Dave Bosky wrote:

Does anyone have a simple code example of encrypting passwords using the
blowfish encryption method?

I've only used blowfish with Java and I'm unsure of the syntax.



Thanks,

Dave



HTC Disclaimer:  The information contained in this message may be privileged 
and confidential and protected from disclosure. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer.  
Thank you.


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to