Top "Hash" questions

A hash function is any well-defined procedure or mathematical function that converts a large amount of data into a small datum, usually a single integer.

How can I update window.location.hash without jumping the document?

I have a sliding panel set up on my website. When it finished animating, I set the hash like so …

javascript jquery hash scrollto
php mysqli_connect: authentication method unknown to the client [caching_sha2_password]

I am using php mysqli_connect for login to a MySQL database (all on localhost) <?php //DEFINE ('DB_USER', …

php mysql hash sha
Are there any SHA-256 javascript implementations that are generally considered trustworthy?

I am writing a login for a forum, and need to hash the password client side in javascript before sending …

hash javascript sha256 sha2
What is a good Hash Function?

What is a good Hash function? I saw a lot of hash function and applications in my data structures courses …

algorithm language-agnostic hash
How can bcrypt have built-in salts?

Coda Hale's article "How To Safely Store a Password" claims that: bcrypt has salts built-in to prevent rainbow table attacks. …

security hash internals bcrypt
Why does Java's hashCode() in String use 31 as a multiplier?

Per the Java documentation, the hash code for a String object is computed as: s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1] …

java string algorithm hash
Hash table runtime complexity (insert, search and delete)

Why do I keep seeing different runtime complexities for these functions on a hash table? On wiki, search and delete …

algorithm data-structures hash time-complexity hashtable
Changing every value in a hash in Ruby

I want to change every value in a hash so as to add '%' before and after the value …

ruby hash
Hashing with SHA1 Algorithm in C#

I want to hash given byte[] array with using SHA1 Algorithm with the use of SHA1Managed. The byte[] hash …

c# hash byte sha1 hashcode
What column type/length should I use for storing a Bcrypt hashed password in a Database?

I want to store a hashed password (using BCrypt) in a database. What would be a good type for this, …

mysql hash types storage bcrypt