News Feed
Sections




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

Timoh's Blog:
PHP data encryption cheatsheet
June 17, 2014 @ 10:52:44

Timoh has published a data encryption cheatsheet to his blog today. It's "a short guide" to help you prevent some of the more common encryption-related problems in your application, specifically around symmetric data encryption.

This cheatsheet assumes a "client-server" situation, which is probably a typical case with PHP applications. Naturally the recommendations given here are not the "only possible way" to handle data encryption in PHP, but this cheatsheet aims to be straightforward and tries to leave less room for mistakes and (possibly confusing) choices.

The cheatsheet includes information on topics like:

  • Encryption algorithm / mode of operation / nonce (initializing vector)
  • Encryption and authentication keys
  • Key stretching
  • Key storage and management
  • Data compression

It's jam-packed full of great information, so definitely check it out if you're doing any kind of encryption in PHP.

0 comments voice your opinion now!
data encryption cheatsheet common mistakes

Link: https://timoh6.github.io/2014/06/16/PHP-data-encryption-cheatsheet.html

blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Build a Database with Eloquent, Faker and Flysystem

Jonathan Snook's Blog: CakePHP: Data Validation

Michael Kimsal's Blog: PHP Continuous Integration with phpUnderControl

PHPBuilder.com: CSVtoXLS: A Utility to Convert CSV data into XLS Spreadsheets

Roshan Bhattarai's Blog: How to filter user submitted data easily in PHP?


Community Events

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


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

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