Re: how do I protect/encrypt sensitive data in a database?
| From: | Chris Adams | Date: | Mon, 26 Jun 2000 23:55:13 +0000 |
| Subject: | Re: how do I protect/encrypt sensitive data in a database? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3245@lists.php.net to get a copy of this message | ||
> thanks, I'll give this a try using strings... something still feels
> inherently wrong with using strings though... ;-)
With encryption it's probably the easiest choice. If it bothers you deeply, serialize a
structure
when you store it and deserialize it when you retrieve it. This would let you continue to work with
numbers in your code even if it's stored as strings in the database.