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)
June 02, 2009 @ 08:48:51

On the ITNewb.com website, there's this new tutorial looking at using the mcrypt libraries in PHP to help protect the data being passed around inside your application.

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.

The tutorial walks you through a quick primer on what sort of cryptography the mcyrpt library offers and shows an example of a function (cryptastic!) that takes in the data and a key to return the encrypted value.

0 comments voice your opinion now!
tutorial libmcrypt


blog comments powered by Disqus

Similar Posts

phpRiot.com: Implementing a WebDAV filesystem with PHP and SabreDAV

PHPMaster.com: Generators in PHP

Vid Luther's Blog: Using your Mac as a local web development environment.

Rob Allen's Blog: Zend Framework Tutorial for ZF v0.8

Till Klampaeckel's Blog: So you'd like to migrate from MySQL to CouchDB? - Part I


Community Events

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


interview podcast security community language library extension laravel unittest version symfony laravel5 framework series voicesoftheelephpant api opinion threedevsandamaybe release introduction

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