|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Using MySQL and PHP I need to encrypt some data. This will be things like Credit Cards, Address and other confidential information. I've looked at MD5, is this the best method for security in PHP/MySQL?
What are my other options? |
| Sponsored Links |
|
|
|
|||||
|
First of all, just to point out: MD5 is not an encryption, it's an one-way hash function.
When "cracking" MD5-hashes, you actually don't crack them. You just make a lot of permutations, hashes each one of them and checks if the new hash is identical with the hash you're trying to "crack". MD5 is like I said, an one-way hash, so it isn't possible to "crack" it (not yet...) To be honest I don't know what hash function or encryption is the best right now, but I think MD5 is still secure enough to use, though Sidewinder showed how it can be "cracked". If you're running it through an application it's even faster. You can also take a look at the crypt-function in PHP, maybe it's something for you. I haven't used it by myself. http://php.net/crypt |
|
|||
|
I do not understand, I've always been taught that MD5 was encryption although I knew it was a one-way hash. Isn't this a form of encryption?
Sidewinder, what is this site you used? I'm interested in it. Last edited by John; 06-26-2007 at 04:32 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Global variables (SERVER) | Jaan | PHP Tutorials | 0 | 03-22-2007 10:43 PM |
| How to store file contents in an array? | vithasekar | Java Help | 2 | 01-13-2007 03:24 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 98%