Author: techfox9

Crypto in php ..

Tuesday, July 1st, 2008 @ 10:11 pm

Very useful article..


http://www.devx.com/webdev/Article/37821/0/page/1

A Guide to Cryptography in PHP
by Octavia Andreea Anghel

For every difficult and complicated 
question there is an answer 
that is simple, easily understood, 
and wrong. H.L. Mencken
string md5(string $str [, bool $raw_output ])

one-way encryption function.. useful for passwords..

string crypt (string $str [, string $salt ])
string sha1 (string $str [, bool $raw_output ])

php packages..

MCrypt
MHash   
Crypt_Blowfish  
Crypt_RSA       
Crypt_HMAC
Crypt_DiffieHellman

Cryptography, Security


 


Comments are closed.