Encryption is undoubtedly the most complicated topic PHP programmers have to face, partially because encryption is inherently difficult, and partially because the PHP extension designed to handle encryption seems to have been designed for encryption experts to use, as opposed to normal people!
As such, many people teach PHP encryption by simply making PHP execute command-line tools such as PGP or GnuPG - this makes for good encryption, but poor use of PHP. We are going to be looking at proper encryption using PHP, and I have tried to make things as clear as possible without too much fluff.
Want to learn PHP 7?
Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!
If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!
Next chapter: Terms you need to know >>
Previous chapter: Protecting your data
Home: Table of Contents
Copyright ©2015 Paul Hudson. Follow me: @twostraws.