Click to See Complete Forum and Search --> : Difference between all the encryptions...
dclamp
Apr 11th, 2007, 11:25 PM
1) What is the difference between MD5, SHA1...?
2) What encryption is best?
3) Can you encrypt an encryption? Like:
<PHP
$password = MD5(SHA1("mypass"));
?>
penagate
Apr 11th, 2007, 11:36 PM
I recommend this Wikipedia article
Cryptographic Hash Functions (http://en.wikipedia.org/wiki/Cryptographic_hash_functions)
RudiVisser
Apr 12th, 2007, 07:58 AM
For passwords, never use a straight MD5.
Always try to move away from using one form of encryption, I mainly use:
md5(base64(md5(base64("STRING"))));
But that's just me ;)
As long as you use the same encryption to encrypt as to match, it doesn't matter.
superbovine
Apr 16th, 2007, 08:17 AM
1) What is the difference between MD5, SHA1...?
2) What encryption is best?
3) Can you encrypt an encryption? Like:
<PHP
$password = MD5(SHA1("mypass"));
?>
1. see the article pengate posted.
2. depends on your specifications and requirements.
3. "Can you encrypt an encryption?" What you mean to ask is "Can I encrypt encrypted data?" The answer is yes. It would be easier to use one encryption key double the size. You will have to do some research, but I am assuming using the same encryption scheme with two different keys might actually weaken the strength of the encryption. See http://weblogs.asp.net/despos/archive/2004/11/09/254647.aspx
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.