As many people know, one-way encryption is a convenient way to encrypt user passwords in databases. Thus, even the database administrator cannot know the user's password, but will have to guess the password, encrypt it using the same algorithm, and then compare the result with the encrypted password in the database. This means that the process of determining a password requires enormous guesswork and great processing power.
Seeing that computers are continuing faster and that mathematicians are still developing these algorithms, I wonder which one is the most secure, given modern computing power and encryption methods.
I have been using MD5 almost exclusively for years, and I wonder if there is anything else that I should do. Should I consider a different algorithm?
Another related question: how long should there be a field for such an encrypted password? I must admit that I know almost nothing about encryption, but I assume that the MD5 hash (as an example) can be longer and, presumably, will require more computing power to crack. Or the length of the field does not matter at all, provided that the encrypted password in it is primarily included?
security algorithm passwords encryption md5
Teekin Feb 24 '10 at 21:14 2010-02-24 21:14
source share