<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 14:00:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Smashing Magazine: Replicating MySQL AES Encryption Methods With PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/18021</guid>
      <link>http://www.phpdeveloper.org/news/18021</link>
      <description><![CDATA[<p>
On the Smashing Magazine site today there's a new tutorial showing you how to <a href="http://coding.smashingmagazine.com/2012/05/20/replicating-mysql-aes-encryption-methods-with-php/">replace your MySQL encryption methods</a> for AES with their PHP equivalent.
</p>
<blockquote>
At our company, we process a lot of requests on the leading gift cards and coupons websites in the world. The senior developers had a meeting in late October to discuss working on a solution to replicate the MySQL functions of AES_ENCRYPT and AES_DECRYPT in the language of PHP. This article centers on what was produced by senior developer Derek Woods and how to use it in your own applications.
</blockquote>
<p>
He starts with a little bit of backstory - why to even bother using encryption, what AES encryption is and why you should probably avoid using the MySQL implementation of it in your apps. PHP's <a href="http://php.net/mcrypt">mcrypt</a> functions don't return the same hashes as their MySQL counterparts (he includes the "why" of this) and includes some quick code to replicate the MySQL behavior. He also mentions some issues with the transformation, newlines and shows the source for their completed "aes_crypt" and "aes_decrypt" functions.
</p>]]></description>
      <pubDate>Wed, 30 May 2012 08:43:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Oracle Technology Network: How To Encrypt Data in Oracle Using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4536</guid>
      <link>http://www.phpdeveloper.org/news/4536</link>
      <description><![CDATA[From the Oracle Technology Network site today, there's <a href="http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/ullman_encrypt.html">this new HowTo</a> on encrypting you data in Oracle using PHP.
<p>
<quote>
<i>
A crucial but easily overlooked aspect of data storage is protecting sensitive information'"from passwords, to credit cards, to social security numbers'"using encryption. Thus an understanding as to what encryption techniques are available in Oracle (via a PHP interface), and how best to use them, is important for all Web developers.
<p>
In this HowTo, you'll get a brief introduction to the necessary tools, and even get some specific code, for improving the security of your data.
</i>
</quote>
<p>
They <a href="http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/ullman_encrypt.html">look first</a> at a little background - what is encryption and how is it usually used. Following that, the code comes out, showing you how to create the encryption functionality in the PL/SQL area and subit the data into the procedure via PHP. They show three different kinds of storage methods you can use as well - hashed, MAC, and AES encryption. 
<p>
Thanks to <a href="http://www.nexen.net/news/gen.php/2005/12/21/4878,0,0,0,0.php">Nexen.net</a> for the pointer...]]></description>
      <pubDate>Wed, 21 Dec 2005 07:25:27 -0600</pubDate>
    </item>
  </channel>
</rss>
