Click here to Skip to main content
12,627,681 members (33,827 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Algorithms hash
Hi Huys


What is the most secure hashing algorithm used?
Posted 2-May-12 4: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 3-May-12 6:16am
   
so the greater the size, the secure it is?is that what you saying?
SAKryukov 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!
SAKryukov 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.161205.3 | Last Updated 2 May 2012
Copyright © CodeProject, 1999-2016
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