php encryption
- Started
- Last post
- 10 Responses
- ldww
has anyone messed with two way encryption with php?
- cosmo0
done one way. wat r u trying to do?
- ldww0
we store customers credit cards in a sql database... thought it might be keen to encrypt them :)
- cosmo0
i'm not sure if there is a way to decrypt them. I have used md5, which is pretty secure.
- ldww0
hmmm. ok. thanks.
- mike0
http://us4.php.net/manual/en/fun…
never tried though.
- deplifer0
if your php configuration
should not have some of the
php encryption modules check
out the
PEAR - PHP Extension and Application Repository
- mirola0
best way is to install a cert on your server and get it signed by verisign or someone.
- ldww0
we have an ssl. how does that encrypt?
found out that we have mcrypt installed on server. problem is that it creates a binary formatted result. so i have to convert it to hex to store in db, and the hex2bin converter is leaving boxes on the end of the sring when i convert it back out.
- meph5040
well if you already have it encrypted, why not just store it as a binary in the database ?
- sparker0
ssl only encrypts packet transmission..once the data reaches its destination it is unencrypted.
have you tried using php's mcrypt_decrypt function?