News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevX.com:
A Guide to Cryptography in PHP
May 06, 2008 @ 13:47:22

The DevX.com site has posted an introductory guide to using cryptography in PHP, showing how to use the various packages the language has to offer.

Cryptography is just one piece of the security puzzle, along with SSL/TLS, certificates, digital signatures, and so on. This article explains how to use PHP to implement the most common cryptographic algorithms. In addition to describing PHP's default encryption functions, you'll see how to use a wide variety of cryptographic libraries and packages.

They start with a look at some of the built-in functions like md5, sh1 and crypt as well as a table detailing the different encryption methods (like mcrypt, mhash or crypt_blowfish). They follow this up with examples of some of them including a method for making secret keys with the Crypt_DiffieHellman PEAR Package.

0 comments voice your opinion now!
cryptography mcrypt mhash blowfish rsa hmac diffiehellman


blog comments powered by Disqus

Similar Posts

DevX.com: A Guide to Cryptography in PHP

Kevin Schroeder: Generating secure cross site request forgery tokens (csrf)

ITNewb.com: Encrypting Passwords with PHP for Storage Using the RSA PBKDF2 Standard

Rob Allen: Setting up PHP & MySQL on OS X 10.8 Mountain Lion

Suspekt Blog: mt_srand and not so random numbers


Community Events





Don't see your event here?
Let us know!


opinion introduction series package voicesoftheelephpant version symfony interview composer security framework release laravel update library mvc tool community language podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework