Archive for the 'Cryptography' Category

 

Crypto in php ..

Jul 01, 2008 in Cryptography, Security

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