Top "Hash-function" questions

A hash function is an algorithm that maps large data sets of keys to smaller data sets of a fixed length.

Maximum length for MD5 input/output

What is the maximum length of the string that can have md5 hashed? Or: If it has no limit, and …

md5 hash-function
How does a Java HashMap handle different objects with the same hash code?

As per my understanding I think: It is perfectly legal for two objects to have the same hashcode. If two …

java hashmap hashcode hash-function
MySQL Check if username and password matches in Database

I have a form which has a textbox with the name attribute username and another one with the name attribute …

php mysql authentication hash-function password-storage
How to write a hash function in C?

Hash Tables are said to be the fastest/best way of Storing/Retrieving data. My understanding of a hash table, …

c hashtable hash hash-function
SSL encryption, SHA-1 and SHA-2

I am trying to implement SHA-2 encryption instead of SHA-1. For this, I know that the number of bits between …

encryption ssl sha1 hash-function sha2
Why does Git use a cryptographic hash function?

Why does Git use SHA-1, a cryptographic hash function, instead of a faster non-cryptographic hash function? Related question: Stack Overflow …

git hash-function
unordered_map hash function c++

I need to define an unordered_map like this unordered_map<pair<int, int>, *Foo>, what …

c++ unordered-map hash-function
Hash function for floats

I'm currently implementing a hash table in C++ and I'm trying to make a hash function for floats... I was …

c++ floating-point hashtable hash-function
What is a hash function in java?

I have check out this Wikipedia page on it, but I still don't understand it. Can someone please help my …

java hashmap hash hash-function
Hash function for a pair of long long?

I need to map a pair of long long to a double, but I'm not sure what hash function to …

c++ hash tr1 unordered-map hash-function