|
-
Apr 11th, 2007, 11:25 PM
#1
Thread Starter
WiggleWiggle
Difference between all the encryptions...
1) What is the difference between MD5, SHA1...?
2) What encryption is best?
3) Can you encrypt an encryption? Like:
php Code:
<PHP
$password = MD5(SHA1("mypass"));
?>
My usual boring signature: Something
-
Apr 11th, 2007, 11:36 PM
#2
Re: Difference between all the encryptions...
I recommend this Wikipedia article
Cryptographic Hash Functions
-
Apr 12th, 2007, 07:58 AM
#3
Hyperactive Member
Re: Difference between all the encryptions...
For passwords, never use a straight MD5.
Always try to move away from using one form of encryption, I mainly use:
php Code:
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.
» Twitter: @rudi_visser : Website: www.rudiv.se «
If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.
-
Apr 16th, 2007, 08:17 AM
#4
Hyperactive Member
Re: Difference between all the encryptions...
 Originally Posted by dclamp
1) What is the difference between MD5, SHA1...?
2) What encryption is best?
3) Can you encrypt an encryption? Like:
php Code:
<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/archiv...09/254647.aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|