Choice of 128 bit Hash functions

  1. 7 weeks ago

    Robert W

    Jan 8 Western Canada

    Am I correct in assuming that MD5 is the most common 128 bit hash function? I need to pick a hash function that produces a 128 bit result. Speed is more important than high security, because this will simply be used to generate a dictionary lookup key, but I'd like to use an algorithm that's common across many different platforms besides Xojo.

  2. Christian S

    Jan 9 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    We have a SHA1MBS class in MBS Xojo Encryption Plugin .

  3. Kem T

    Jan 9 Pre-Release Testers, Xojo Pro, XDC Speakers, MVP Connecticut

    It'd say all the hash functions available in Xojo would be considered "common". Since security is not an issue, md5 is a fine choice, but you should test for speed.

  4. Robert W

    Jan 9 Western Canada

    MD5 was the only one I found that was 128 bit, but I may have missed some. Speed is more of a concern than security. So, maybe I should have asked, what is the fastest commonly available 128 bit hash function? This is just for a traditional hash table, but I'd still like good entropy to avoid collisions.

  5. Christian S

    Jan 10 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    You can just make a 256 or 512 bit hash and just take the first 128 bits.

or Sign Up to reply!