Re[2]: [PHP-DB] Credit Card Encryption
| From: | sysvic at gmail dot com | Date: | Wed, 26 Dec 2007 19:27:09 +0000 |
| Subject: | Re[2]: [PHP-DB] Credit Card Encryption | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-44460@lists.php.net to get a copy of this message | ||
Instead functions and strategies to hide or divide information, why
not using PHP with PECL extension and GnuPG to manage data using
public/private key.
This way is safer and easier. Only 3 lines of code:
$gpg = new gnupg();
$gpg -> addencryptkey("43243243243243243243243243243243242");
$card_stored = $gpg -> encrypt($Customer_card);
http://pecl.php.net/package/gnupg
http://php.net/manual/en/ref.gnupg.php