Re: ENCRYPT() in MySQL
| From: | Analysis & Solutions | Date: | Mon, 29 Jul 2002 15:05:45 +0000 |
| Subject: | Re: ENCRYPT() in MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110185@lists.php.net to get a copy of this message | ||
On Mon, Jul 29, 2002 at 10:06:29PM +1000, Justin French wrote:
>
> I'm on a shared server which does not have mcrypt... not good, since i want
> to temporarily store credit card numbers in an encrypted manner, either in a
> MySQL database, or in a text file.
Uh, what are you going to do with the cc data that you need to store it?
> Couldn't find much, then did a search on MySQL.com, and found the ENCRYPT(),
> DECRYPT(), ENCODE() and DECODE() functions.
>
> Am I barking up the wrong tree, or can these be used for storing sensitive
> information (credit card, etc etc) in a mysql table?
Should work.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409