News Feed
Sections




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

ITNewb.com:
PHP Encryption / Decryption Using the MCrypt Library (libmcrypt)
May 26, 2009 @ 09:35:10

On the ITNewb.com site there's a recent tutorial that's been posted by Andrew Johnson about using the mcrypt library in your PHP apps for a simple level of data protection.

The ability to encrypt and safeguard data is an essential ability that every serious web developer should have in their arsenal. In this article we'll explore encrypting data with PHP and MCrypt (libmcrypt), storing it in a database, retrieving it from a database and decrypting it for use.

He works through what mcrypt is, where it can be downloaded from, a simple usage example and a more in-depth look at what its doing (making an IV, encrypting) and how to store the resulting encrypted information into a MySQL database table.

1 comment voice your opinion now!
libmcrypt tutorial mcrypt


blog comments powered by Disqus

Similar Posts

DevShed: Introduction to Using SQLite with PHP 5

Ralph Schindler's Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard

IBM developerWorks: Use the YouTube API with PHP

DevShed: Fundamentals of Recursion in PHP (Part 1)

William Candillon's Blog: Running Zorba with PHP


Community Events





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


api opinion package framework install podcast tips symfony bugfix series interview list language community introduction library release laravel deployment voicesoftheelephpant

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