Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Huys


What is the most secure hashing algorithm used?
Posted

1 solution

The question is not really correct. First, the criterion "most secure" can not be strictly defined. Moreover, suppose you have some secure algorithm, without a flaw like a backdoor, which can use different hash sizes, a hash sizes being a parameter. You can always make it more "secure" by increasing the hash size. So, what is the "most secure"? Most secure per hash size? per processing time? How to measure it?

Please see for more information and comparison: http://en.wikipedia.org/wiki/Cryptographic_hash_function[^].

For the criteria of cryptographic quality, please see:
http://en.wikipedia.org/wiki/Strong_cryptography[^],
http://en.wikipedia.org/wiki/Cryptanalysis[^].

It's easier to say what is not secure. For example, both MD5 and SHA-1 are considered broken and not recommended for any security purposes. Please see:
http://en.wikipedia.org/wiki/Md5[^],
http://en.wikipedia.org/wiki/SHA-1[^].

—SA
 
Share this answer
 
v3
Comments
Anele Ngqandu 3-May-12 6:16am    
so the greater the size, the secure it is?is that what you saying?
Sergey Alexandrovich Kryukov 4-May-12 13:11pm    
Not exactly, but other factors being the same, it is true. Of course. Imagine that the hash size is jus two bytes; then inverting it would be trying just 65536 times, right? :-)
--SA
VJ Reddy 4-May-12 13:07pm    
Good references. 5!
Sergey Alexandrovich Kryukov 4-May-12 13:08pm    
Thank you, VJ.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900