Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Algorithms Hashing
Hi Huys
 

What is the most secure hashing algorithm used?
Posted 2-May-12 3:50am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
v3
Comments
Anele.Ngqandu at 3-May-12 6:16am
   
so the greater the size, the secure it is?is that what you saying?
SAKryukov at 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 at 4-May-12 13:07pm
   
Good references. 5!
SAKryukov at 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)



Advertise | Privacy | Mobile
Web04 | 2.8.140821.2 | Last Updated 2 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100