Chapter 12. Data Encryption

Unless you've been living under a rock for the past 10 years, you've probably heard the term cryptography (or data encryption) at least once. You've probably also got a pretty good notion of what it is: taking some piece of information and jumbling it up so that no one can read it except the people who should be able to. What you may not know is how it works and, more importantly, how you can use it in your own programs.

This chapter will cover two basic categories of encryption: shared secret and public key. Each form of encryption shares the same basic concepts: Party A uses a key and/or algorithm ...

Get PHP 5 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.