Gang Of Coders
Home
About Us
Contact Us
All Hash Solutions on Gang of Coders
Total of 270 Hash Solutions
Best implementation for hashCode method for a collection
Java
Hash
Equals
Hashcode
Is "double hashing" a password less secure than just hashing it once?
Security
Hash
Passwords
Cryptography
Password Hash
How can I see if a Perl hash already has a certain key?
Perl
Hash
Key
Lookup
Ruby 1.9 hash with a dash in a key
Ruby
Syntax
Hash
Ruby 1.9
How long to brute force a salted SHA-512 hash? (salt provided)
Hash
Cryptography
Salt
Brute Force
Sha
What is the best way to create a sparse array in C++?
C++
Oop
Data Structures
Hash
Maps
How do I implement salt into my login for passwords?
Security
Hash
Password Protection
Salt
How can I SHA512 a string in C#?
C#
Hash
safe enough 8-character short unique random string
Python
Hash
Random
Cryptography
Set literal gives different result from set function call
Python
Hash
Set
Python 2.x
Python Internals
Calculating a SHA hash with a string + secret key in python
Python
Hash
Sha256
Change hash without reload in jQuery
Jquery
Hash
Reload
Fragment Identifier
window.location
Asking "is hashable" about a Python value
Python
Hash
String similarity score/hash
Algorithm
Hash
Similarity
.NET implementation of scrypt
C#
.Net
Cryptography
Hash
Scrypt
Why is the size 127 (prime) better than 128 for a hash-table?
Algorithm
Hash
Primes
Convert a String to a byte array and then back to the original String
Java
Android
Byte
Hash
Arduino
Obtain SHA-256 string of a string
C#
String
Hash
Sha256
Why are XOR often used in java hashCode() but another bitwise operators are used rarely?
Hash
Hashcode
Xor
How to hash a string in Android?
Java
Android
Hash
Cryptography
Hashing an entire PHP array into a unique value
Php
Arrays
Hash
How to generate a unique hash code for string input in android...?
Java
Android
Hash
Hashmap
Hash string into RGB color
Hash
Colors
Language Agnostic
Probability of collision when using a 32 bit hash
Algorithm
Hash
Collision
Probability
Crc
Why hashmap lookup is O(1) i.e. constant time?
Data Structures
Hash
Hashmap
Hashtable
Big O
What data type to use for hashed password field and what length?
Mysql
Hash
Types
Passwords
Cryptography
How do I generate a hashcode from a byte array in C#?
C#
Hash
Best hashing algorithm in terms of hash collisions and performance for strings
C#
Algorithm
Hash
How to use sha256 in php5.3.0
Php
Hash
Sha256
Flattening hash into string in Ruby
Ruby
Hash
How should I map long to int in hashCode()?
Java
Algorithm
Hash
Parsing URL hash/fragment identifier with JavaScript
Javascript
Jquery
Url
Hash
Fragment Identifier
Ruby: What is the easiest method to update Hash values?
Ruby
Hash
Secure hash and salt for PHP passwords
Php
Security
Passwords
Hash
Protection
Coupon code generation
C#
Algorithm
Hash
Coupon
CRC32 vs CRC32C?
Hash
Checksum
What's the best way to create a short hash, similar to what tiny Url does?
C#
.Net
Hash
Short Url
What is the best 32bit hash function for short strings (tag names)?
Algorithm
Hash
Tags
32 Bit
Unable to use dot syntax for ruby hash
Ruby
Syntax
Hash
What is the difference between "window.location.href" and "window.location.hash"?
Javascript
Jquery
Hash
Href
window.location
MD5 vs CRC32: Which one's better for common use?
Algorithm
Hash
Where do you store your salt strings?
Security
Authentication
Hash
Cryptography
Salt
How can I find the number of keys in a hash in Perl?
Perl
Hash
How to reliably hash JavaScript objects?
Javascript
Json
node.js
Hash
How do I use Array#dig and Hash#dig introduced in Ruby 2.3?
Arrays
Ruby
Hash
Splat
C++ - Why is boost::hash_combine the best way to combine hash-values?
C++
C++11
Boost
Hash
What is image hashing used for?
Algorithm
Image
Hash
Reversible hash function?
Python
Hash
How does shovel (<<) operator work in Ruby Hashes?
Ruby
Hash
Convert Ruby Hash into YAML
Ruby
Hash
Yaml
Why is Git not considered a "block chain"?
Git
Hash
Blockchain
What is Hash and Range Primary Key?
Hash
Amazon Dynamodb
Primary Key
Database
Nosql
Is it possible to decrypt MD5 hashes?
Hash
Cryptography
Md5
Encryption
How do I search within an array of hashes by hash values in ruby?
Ruby
Search
Hash
Arrays
How can I generate an MD5 hash in Java?
Java
Hash
Md5
Hashcode
Is a Python dictionary an example of a hash table?
Python
Hash
Dictionary
Hashmap
Hashtable
Is it safe to ignore the possibility of SHA collisions in practice?
Hash
Sha
Why does Python's hash of infinity have the digits of π?
Python
Math
Hash
Floating Point
Pi
How does password salt help against a rainbow table attack?
Hash
Cryptography
Salt
Rainbowtable
SHA512 vs. Blowfish and Bcrypt
Security
Encryption
Passwords
Hash
How to replace a hash key with another key
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
How do I use Node.js Crypto to create a HMAC-SHA1 hash?
Javascript
node.js
Algorithm
Hash
Node Crypto
How to get a specific output iterating a hash in Ruby?
Ruby
Hash
Output
Hash collision in git
Git
Hash
Sha1
Hash Collision
Fastest hash for non-cryptographic uses?
Php
Database
Security
Hash
How to add new item to hash
Ruby
Hash
Hashing a dictionary?
Python
Hash
Dictionary
Changing every value in a hash in Ruby
Ruby
Hash
Hash and salt passwords in C#
C#
Hash
Passwords
Salt
Generate a Hash from string in Javascript
Javascript
Hash
Good Hash Function for Strings
Java
Hash
Hashtable
Hashcode
Default implementation for Object.GetHashCode()
.Net
Hash
Gethashcode
How can I print the contents of a hash in Perl?
Perl
Hash
Printing
How can I update window.location.hash without jumping the document?
Javascript
Jquery
Hash
Scrollto
Equivalent of .try() for a hash to avoid "undefined method" errors on nil?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
Simple (non-secure) hash function for JavaScript?
Javascript
Hash
Md5
Sha1
Why is XOR the default way to combine hashes?
Cryptography
Bit Manipulation
Hash
Probability
Xor
Best Practices: Salting & peppering passwords?
Security
Hash
Passwords
Salt
Password Hash
Is there hash code function accepting any object type?
Javascript
Hash
Set
Hashcode
How many random elements before MD5 produces collisions?
Random
Md5
Hash
What type of hash does WordPress use?
Php
Wordpress
Hash
How to sort a Ruby Hash by number value?
Ruby
Hash
Is it worth hashing passwords on the client side
Passwords
Client Side
Hash
What is a elegant way in Ruby to tell if a variable is a Hash or an Array?
Ruby
Arrays
Hash
How do I create a SHA1 hash in ruby?
Ruby
Hash
Sha1
Salting Your Password: Best Practices?
Hash
Cryptography
Passwords
Salt
Hashing a string with Sha256
C#
String
Hash
Sha256
How can bcrypt have built-in salts?
Security
Hash
Internals
Bcrypt
Why is '397' used for ReSharper GetHashCode override?
Hash
Resharper
Hash Code-Uniqueness
Storing SHA1 hash values in MySQL
Mysql
Database Design
Hash
Sha1
Difference between Hashing a Password and Encrypting it
Security
Language Agnostic
Encryption
Hash
Passwords
Removing all empty elements from a hash / YAML?
Ruby on-Rails
Ruby
Hash
Yaml
hash function for string
C
Algorithm
Hash
Dictionary
Hashtable
How to "EXPIRE" the "HSET" child key in redis?
Hash
Redis
Is SHA-1 secure for password storage?
Cryptography
Hash
Sha1
hash function in Python 3.3 returns different results between sessions
Python
Security
Hash
Python 3.3
Hash Collision
How to hash a string into 8 digits?
Python
Arrays
Algorithm
Random
Hash
Is there an IDictionary implementation that, on missing key, returns the default value instead of throwing?
C#
.Net
Hash
Dictionary
How to hash a password
C#
Security
Hash
Passwords
Windows Phone-7
Hashing a file in Python
Python
Hash
Md5
Sha1
Hashlib
Is MD5 still good enough to uniquely identify files?
Hash
Md5
Are there any SHA-256 javascript implementations that are generally considered trustworthy?
Hash
Javascript
Sha256
Sha2
Which cryptographic hash function should I choose?
C#
.Net
Hash
Cryptography
Cryptographic Hash-Function
Mismatch Detected for 'RuntimeLibrary'
C++
Hash
Compilation
Sha256
Crypto++
What is a good Hash Function?
Algorithm
Language Agnostic
Hash
php mysqli_connect: authentication method unknown to the client [caching_sha2_password]
Php
Mysql
Hash
Sha
When is CRC more appropriate to use than MD5/SHA1?
Hash
Embedded
Crc
Getting URL hash location, and using it in jQuery
Jquery
Url
Hash
Fragment Identifier
Choosing between std::map and std::unordered_map
C++
C++11
Hash
Map
Unordered Map
How to change Hash values?
Ruby
Syntax
Hash
How does Git compute file hashes?
Git
Hash
Sha1
Checksum
Git Hash
Ruby Hash to array of values
Ruby
Arrays
Hash
Hash Code and Checksum - what's the difference?
Language Agnostic
Hash
Computer Science
Checksum
What is the optimal length for user password salt?
Encryption
Hash
Salt
Is BCrypt a good hashing algorithm to use in C#? Where can I find it?
C#
Hash
Bcrypt
bcrypt.net
Is calculating an MD5 hash less CPU intensive than SHA family functions?
Hash
Cryptography
Md5
Sha1
Sha2
Is there any difference between the `:key => "value"` and `key: "value"` hash notations?
Ruby
Syntax
Hash
Ruby 1.9
Hashrocket
How to convert ActiveRecord results into an array of hashes
Arrays
Activerecord
Hash
PHP best way to MD5 multi-dimensional array?
Php
Arrays
Multidimensional Array
Hash
Md5
Print Current Mercurial Revision Hash?
Hash
Mercurial
Revision
How to create a HashMap with two keys (Key-Pair, Value)?
Java
Hash
Hashmap
Hashcode
Best way to generate random file names in Python
Python
Random
Hash
How do I sort an array of hashes by a value in the hash?
Ruby
Arrays
Sorting
Hash
Git Tag list, display commit sha1 hashes
Git
Logging
Hash
Git Tag
Verbose
Linux: compute a single hash for a given folder & contents?
Linux
Bash
Hash
What does hash do in python?
Python
Hash
MD5 is 128 bits but why is it 32 characters?
Hash
Cryptography
Md5
Cryptographic Hash-Function
What integer hash function are good that accepts an integer hash key?
C
Algorithm
Hash
Random hash in Python
Python
Hash
Md5
How do I compare two hashes?
Ruby
Hash
How to find the key of the largest value hash?
Ruby
Hash
How to create a laravel hashed password
Php
Security
Laravel
Hash
Passwords
How to implement a good __hash__ function in python
Python
Hash
Meaning of Open hashing and Closed hashing
Hash
Is there an MD5 Fixed Point where md5(x) == x?
Hash
Md5
Hash string in c#
C#
String
Hash
How to specialize std::hash<Key>::operator() for user-defined type in unordered containers?
C++
Hash
C++11
Unordered Map
Unordered Set
Salt and hash a password in Python
Python
Authentication
Hash
Passwords
Salt
Why does Java's hashCode() in String use 31 as a multiplier?
Java
String
Algorithm
Hash
What's the safest way to iterate through the keys of a Perl hash?
Perl
Hash
Iteration
Each
Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([])
Ruby
Hash
Making a python user-defined class sortable, hashable
Python
Class
Sorting
Hash
Magic Methods
Java Equivalent to Python Dictionaries
Java
Python
Hash
Dictionary
Compile time string hashing
C++
Metaprogramming
C++11
Hash
Why can a Python dict have multiple keys with the same hash?
Python
Hash
Dictionary
Set
Equality
Fundamental difference between Hashing and Encryption algorithms
Security
Encryption
Hash
Cryptography
How does a hash table work?
Data Structures
Hash
Hashtable
Modulo
How to add to an existing hash in Ruby
Ruby
New Operator
Hash
How is a JavaScript hash map implemented?
Javascript
Hash
Hashmap
The necessity of hiding the salt for a hash
Security
Encryption
Hash
Brute Force
How can I combine hashes in Perl?
Perl
Dictionary
Hash
Merge
Best practices around generating OAuth tokens?
Security
Encryption
Oauth
Hash
How do I extract a sub-hash from a hash?
Ruby
Hash
Efficiently generate a 16-character, alphanumeric string
Python
Hash
Random
Magic number in boost::hash_combine
C++
Algorithm
Boost
Hash
Magic Numbers
Is Hash Rocket deprecated?
Ruby
Syntax
Hash
Ruby 1.9
Hashrocket
Cleansing User Passwords
Php
Sql
Pdo
Hash
When is hash(n) == n in Python?
Python
Python 2.7
Python 3.x
Hash
Python Internals
Can two different strings generate the same MD5 hash code?
Hash
Cryptography
Md5
Hash Collision
How to elegantly rename all keys in a hash in Ruby?
Ruby
Hash
Key
How come MD5 hash values are not reversible?
Hash
Cryptography
Md5
Cryptographic Hash-Function
Hash table runtime complexity (insert, search and delete)
Algorithm
Data Structures
Hash
Time Complexity
Hashtable
Rails mapping array of hashes onto single hash
Ruby on-Rails
Ruby
Arrays
Hash
SHA-256 or MD5 for file integrity
File
Hash
Md5
Sha256
HashSet vs. List performance
.Net
Performance
Collections
List
Hash
Hashing with SHA1 Algorithm in C#
C#
Hash
Byte
Sha1
Hashcode
How to generate short uid like "aX4j9Z" (in JS)
Javascript
Hash
Guid
Why does tuple(set([1,"a","b","c","z","f"])) == tuple(set(["a","b","c","z","f",1])) 85% of the time with hash randomization enabled?
Python
Hash
Set
Cpython
Python Internals
Hash Table/Associative Array in VBA
Vba
Hash
Hashtable
Associative Array
How do I combine hash values in C++0x?
C++
C++11
Boost
Hash
Std
How to generate an MD5 file hash in JavaScript/Node.js?
Javascript
node.js
Hash
Md5
How to build a Ruby hash out of two equally-sized arrays?
Ruby
Arrays
Hash
Add a fragment to the URL without causing a redirect?
Javascript
Jquery
Hash
How to hash long passwords (>72 characters) with blowfish
Php
Security
Hash
Passwords
Blowfish
Quick and Simple Hash Code Combinations
C#
Algorithm
Hash
Hashcode
Non-random salt for password hashes
Security
Authentication
Hash
Cryptography
Password Protection
Hashable, immutable
Python
Data Structures
Hash
Immutability
Ruby - Access multidimensional hash and avoid access nil object
Ruby
Hash
Conditional
How can I make a python dataclass hashable without making them immutable?
Python
Python 3.x
Hash
Python Dataclasses
Should the hash code of null always be zero, in .NET
C#
.Net
Hash
Null
Append key/value pair to hash with << in Ruby
Ruby
Hash
How do I loop over a hash of hashes?
Ruby on-Rails
Ruby
Hash
Converting a md5 hash byte array to a string
C#
Hash
Cryptography
Md5
Cryptographic Hash-Function
Why do salts make dictionary attacks 'impossible'?
Security
Hash
Salt
Dictionary Attack
PHP short hash like URL-shortening websites
Php
Hash
MurmurHash - what is it?
Hash
Redis
Murmurhash
Built in Python hash() function
Python
Google App-Engine
Hash
In Ruby, how do I make a hash from an array?
Ruby
Arrays
Hash
node.js hash string?
Hash
node.js
In Perl, how do I create a hash whose keys come from a given array?
Arrays
Perl
Hash
Why aren't Python sets hashable?
Python
Hash
Set
Types that define `__eq__` are unhashable?
Python
Hash
Python 3.x
Is it possible to get identical SHA1 hash?
Cryptography
Hash
Sha1
Checksum
RoR - MD5 generation
Ruby
Hash
Md5
Digest
How to get the MD5 hash of a file in C++?
C++
Hash
Md5
Descending sort by value of a Hash in Ruby
Ruby
Sorting
Hash
Ruby: Creating a hash key and value from a variable in Ruby
Ruby
Hash
Syntax
Algorithm to compare two images in C#
C#
Image
Hash
How to decrypt a SHA-256 encrypted string?
Java
Hash
Cryptography
What is time complexity of a list to set conversion?
Python
List
Hash
Set
Time Complexity
What is the fastest hash algorithm to check if two files are equal?
File
Hash
Crc
When to use Struct instead of Hash in Ruby?
Ruby
Hash
Struct
Ruby on Rails: Submitting an array in a form
Ruby on-Rails
Arrays
Forms
Hash
What is the Difference between a Hash and MAC (Message Authentication code)?
Hash
Cryptography
Terminology
Hashing arrays in Python
Python
Arrays
Hash
How can I replace a window's URL hash with another response?
Javascript
Jquery
Hash
Replace
Attr
Which is faster, Hash lookup or Binary search?
Algorithm
Hash
Hashmap
Lookup
Binary Search
How to SHA1 hash a string in Android?
Android
Hash
Sha1
Why should hash functions use a prime number modulus?
Language Agnostic
Data Structures
Hash
What is the length of a hashed string with SHA512?
Hash
Sha512
Convert a Nokogiri document to a Ruby Hash
Xml
Ruby
Hash
Nokogiri
Libxml Ruby
Calculate MD5 checksum for a file
C#
.Net
Hash
Md5
Options for caching / memoization / hashing in R
R
Caching
Hash
Memoization
Memoise
Ruby: Most concise way to use an ENV variable if it exists, otherwise use default value
Ruby
Hash
Generating the SHA hash of a string using golang
Hash
Go
Array of hashes to hash
Ruby
Arrays
Hash
Probability of SHA1 collisions
Hash
Sha1
Probability
Ruby JSON parse changes Hash keys
Ruby on-Rails
Ruby
Json
Hash
Are mutable hashmap keys a dangerous practice?
Hash
Key
Hashmap
Hashcode
Mutable
encrypt and decrypt md5
Php
Security
Hash
Passwords
Md5
What is the default hash function used in C++ std::unordered_map?
C++
C++11
Hash
Stl
Unordered Map
Looking for a good hash table implementation in C
C
String
Hashtable
Hash
Why are 5381 and 33 so important in the djb2 algorithm?
Hash
Algorithm Complexity & Security: MD5 or SHA1?
Algorithm
Hash
How to change hash keys from `Symbol`s to `String`s?
Ruby on-Rails
Ruby
Ruby on-Rails-3
Hash
Hash table - why is it faster than arrays?
Performance
Algorithm
Hash
Hashtable
Collect values from an array of hashes
Ruby
Arrays
Hash
Collect
Fast String Hashing Algorithm with low collision rates with 32 bit integer
C++
Algorithm
String
Hash
How are hash functions like MD5 unique?
Hash
Theory
Md5
Uniqueidentifier
Rails load YAML to hash and reference by symbol
Ruby on-Rails
Hash
Yaml
Symbols
Ruby Style: How to check whether a nested hash element exists
Ruby
Hash
Coding Style
What is the difference between hash salting and noncing?
Security
Hash
Cryptography
C++ unordered_map using a custom class type as the key
C++
Hash
G++
Unordered Map
Hashtree
What column type/length should I use for storing a Bcrypt hashed password in a Database?
Mysql
Hash
Types
Storage
Bcrypt
How to get the first key and value pair from a hash table in Ruby
Ruby
Hash
How is GetHashCode() of C# string implemented?
C#
.Net
String
Hash
Gethashcode
How to call a method stored in a HashMap? (Java)
Java
Hash
Methods
Invoke
What's the difference between a Docker image's Image ID and its Digest?
Docker
Hash
Sha256
Getting hash of a list of strings regardless of order
C#
.Net
vb.net
String
Hash
What's the difference between a hash and hash reference in Perl?
Perl
Hash
Language Features
Hash Reference
TypeError: unhashable type: 'dict', when dict used as a key for another dict
Python
Json
Hash
What is the best way to create a random hash/string?
Php
Session
Hash
Md5
GetHashCode() on byte[] array
C#
Hash
Performance of key lookup in JavaScript object
Javascript
Dictionary
Hash
How do I fetch multiple hash values at once?
Ruby on-Rails
Ruby
Hash
Destructuring
What are Salt Rounds and how are Salts stored in Bcrypt?
Hash
Passwords
Password Protection
Bcrypt
Salt
What hashing function does Java use to implement Hashtable class?
Java
Algorithm
Hashtable
Hash
Pure-Ruby concurrent Hash
Ruby
Concurrency
Hash
Locking
What is a good 64bit hash function in Java for textual strings?
Java
String
Hash
64 Bit
Collision
How to send password securely via HTTP using Javascript in absence of HTTPS?
Security
Http
Hash
Password Protection
Hmac
What is the true difference between a dictionary and a hash table?
Python
Data Structures
Hash
Dictionary
Hashtable
Java calculate hex representation of a SHA-1 digest of a String
Java
Hash
Sha1
Hash : How does it work internally?
Java
Algorithm
Data Structures
Hash
Python dictionary : TypeError: unhashable type: 'list'
Python
Hash
Dictionary
How to elegantly symbolize_keys for a 'nested' hash
Ruby on-Rails
Ruby
Hash
Dry
What is default hash algorithm that ASP.NET membership uses?
asp.net
Authentication
Hash
Membership
Use Objects.hash() or own hashCode() implementation?
Java
Hash
How can I hash passwords in postgresql?
Security
Postgresql
Hash
Cryptography
Salt
Is time() a good salt?
Php
Security
Hash
Passwords
Salt
How can I compute a SHA-2 (ideally SHA 256 or SHA 512) hash in iOS?
Objective C
Ios
Security
Hash
Sha256
HMAC-SHA1: How to do it properly in Java?
Java
Hash
Sha1
Hmac
How do I convert a Ruby hash so that all of its keys are symbols?
Ruby
Hash
Reason for the number 5381 in the DJB hash function?
Algorithm
Hash
Primes
How to sum all the values in a dictionary?
Python
Dictionary
Hash
Sum
Why and how are Python functions hashable?
Python
Hash
Time complexity of accessing a Python dict
Python
Hash
Dictionary
Complexity Theory
Sum the value of array in hash
Ruby
Hash
Ruby: merge nested hash
Ruby
Hash
Merge
Nested
how to check if a hash is empty in perl
Perl
Hash
How to generate hash number of a string in Go?
Hash
Go