About 10,800 results
Open links in new tab
  1. algorithm - What is a good Hash Function? - Stack Overflow

    Aug 29, 2008 · 153 What is a good Hash function? I saw a lot of hash function and applications in my data structures courses in college, but I mostly got that it's pretty hard to make a good …

  2. c - What integer hash function are good that accepts an integer …

    Mar 20, 2009 · This way the hash function covers all your hash space uniformly. Edit: The biggest disadvantage of this hash function is that it preserves divisibility, so if your integers are all …

  3. Generate a Hash from string in Javascript

    I need to convert strings to some form of hash. Is this possible in JavaScript? I'm not utilizing a server-side language so I can't do it that way.

  4. What does hash do in python? - Stack Overflow

    Jul 11, 2013 · Hash values should therefore not be stored permanently. If you need to use hash values in a permanent way you can take a look at the more "serious" types of hashes, …

  5. C++ unordered_map using a custom class type as the key

    Jun 10, 2013 · To be able to use std::unordered_map (or one of the other unordered associative containers) with a user-defined key-type, you need to define two things: A hash function; this …

  6. c - hash function for string - Stack Overflow

    I'm working on hash table in C language and I'm testing hash function for string. The first function I've tried is to add ascii code and use modulo (% 100) but i've got poor results with the first ...

  7. Why should hash functions use a prime number modulus?

    Similarly a paranoid hash function should use a largeish prime constant, to reduce the chance that someone uses a number of buckets which happens to have a common factor with the …

  8. c++ - How to hash std::pair<int, int>? - Stack Overflow

    hash<pair<int,int>> depends on primitive and standard library types only. This is easily worked around by defining your hash class outside of namespace std, and using that hash explicitly in …

  9. How to use HASHBYTES function in SQL Server for multiple columns

    With a specified MD5 hash algorithm, the probability that HashBytes will return the same result, for two different inputs, is much lower compared to CHECKSUM. HASHBYTES accepts only 2 …

  10. VBA hash string - Stack Overflow

    Feb 6, 2013 · Function: =CRC16TWICE(A1) with this Code hash is a 8 characters long HEX string hash can be expanded to 12/16/20 etc. characters to reduce collision rate even more 39 …