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.

What does hash do in python?

I saw an example of code that where hash function is applied to a tuple. As a result it returns …

python hash
Generating the SHA hash of a string using golang

Can someone show me a working example of how to generate a SHA hash of a string that I have, …

hash go
Is calculating an MD5 hash less CPU intensive than SHA family functions?

Is calculating an MD5 hash less CPU intensive than SHA-1 or SHA-2 on "standard" laptop x86 hardware? I'm interested in …

hash cryptography md5 sha1 sha2
How to SHA1 hash a string in Android?

In Objective C I've been using the following code to hash a string: -(NSString *) sha1:(NSString*)stringToHash { const char *…

android hash sha1
Password hash function for Excel VBA

I need a function written in Excel VBA that will hash passwords using a standard algorithm such as SHA-1. Something …

excel vba hash sha1
Hashing a file in Python

I want python to read to the EOF so I can get an appropriate hash, whether it is sha1 or …

python hash md5 sha1 hashlib
How do I generate a SALT in Java for Salted-Hash?

I've been looking around and the closest answer is : How to generate a random alpha-numeric string? I want to follow …

java security encryption hash salt
Built in Python hash() function

Windows XP, Python 2.5: hash('http://stackoverflow.com') Result: 1934711907 Google App Engine (http://shell.appspot.com/): hash('http://stackoverflow.com') Result: …

python google-app-engine hash
How to replace a hash key with another key

I have a condition where, I get a hash hash = {"_id"=>"4de7140772f8be03da000018", .....} and I want this …

ruby-on-rails ruby ruby-on-rails-3 hash
How can I combine hashes in Perl?

What is the best way to combine both hashes into %hash1? I always know that %hash2 and %hash1 always have …

perl dictionary hash merge