The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Page 1 of 2 12 LastLast
Results 1 to 15 of 26

Thread: Hashing Algorithms

  1. #1

    Hashing Algorithms

    What, in your opinion, is the most secure and collision-resistant hashing algorithm?
    COLOURlovers | Member #2 of the kirupa XBox 360 Club
    "I think most people would agree that your computer breaking is a Christmas miracle." ~shane-c to Timmytots

  2. #2
    Hashing of what? Strings? You will inevitably have collisions at some point, so are you asking what kind of collision-solving algorithm is best?
    Wait, what?

  3. #3
    No, I'm asking which algorithm has the least collisions.
    COLOURlovers | Member #2 of the kirupa XBox 360 Club
    "I think most people would agree that your computer breaking is a Christmas miracle." ~shane-c to Timmytots

  4. #4
    ... really collision is not very high even in the most used hash's. If you want less collision simply expand the hash to more characters. 32 64 128...

    Bring it out to 128 and trust me your not going to be hitting similar hashes.

    Join #kirupa | Click the ƒ under my Username | CL | Jeff

  5. #5
    Oh you mean cryptographic hashing? I thought you meant hashing functions used in hashtables.
    Wait, what?

  6. #6
    ^ Yeah, sorry for not defining what I wanted enough. I had been reading about the possible weakness of the SHA1 hash and was wondering if the kirupians had any favorite hashes.
    COLOURlovers | Member #2 of the kirupa XBox 360 Club
    "I think most people would agree that your computer breaking is a Christmas miracle." ~shane-c to Timmytots

  7. #7
    Wikipedia suggests that SHA-2 has no weaknesses, but mostly because it has not been scrutinized much yet.

    I think most hashes are fine, even if you work at the CIA.
    If you notice this notice you will notice that this notice is not worth noticing.

    "Are you doing anything tonight? If not, how about me?"

    Opera Sucks! - FIX IT
    Oliver Zheng

  8. #8
    ^ Yeah, I read that a couple weeks ago.
    COLOURlovers | Member #2 of the kirupa XBox 360 Club
    "I think most people would agree that your computer breaking is a Christmas miracle." ~shane-c to Timmytots

  9. #9
    sha1 has collisions. The only way, I can think of right now, you can have "no" collisions is if you have strict unique integer data...

  10. #10
    Hmm... After doing some more reading I've decided to go with SHA256 or SHA512, with possible 3 or 4 digit random integer salting. Better safe than sorry I always say.
    COLOURlovers | Member #2 of the kirupa XBox 360 Club
    "I think most people would agree that your computer breaking is a Christmas miracle." ~shane-c to Timmytots

  11. #11
    You are always going to get collisions - that's the definition of hashes. If you are going to transform a string of infinite possibilities into a string of fixed length, how can there not be collisions?
    If you notice this notice you will notice that this notice is not worth noticing.

    "Are you doing anything tonight? If not, how about me?"

    Opera Sucks! - FIX IT
    Oliver Zheng

  12. #12
    wtf is Hashing Algorithms?

  13. #13
    “Who were you, Krilnon, and how did you know so much about AS4?”
    The historian sighed as she gazed up at the sky and saw… not stars. A story.

  14. #14
    Well I know some people that add the length of the string after there Hash... not good for passwords but prevents almost every chance that your gonna have collisions.

    ... but really you shouldn't have to.
    Last edited by Templarian; December 27th, 2007 at 03:16 AM.

    Join #kirupa | Click the ƒ under my Username | CL | Jeff

  15. #15
    Talked to a cryptography wiz last night and decided on what I'm going to do. Problem solved.
    COLOURlovers | Member #2 of the kirupa XBox 360 Club
    "I think most people would agree that your computer breaking is a Christmas miracle." ~shane-c to Timmytots

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012