Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2224

A cryptographic hash algorithm is a function which takes a variable size input and produces a fixed size output. The algorithm makes it difficult to find two inputs with the same output or reconstruct the input from the output.

11 votes
Accepted

Difference between encrypting something and hashing something

One might call the product of the hashing the hash codes of the hash sums. One difference is that hashing two different messages might produce the same hash values. … That way the recipient can compute the hash value of the file received and check that it matches the hash value. …
Thomas's user avatar
  • 1,184
28 votes
6 answers
32k views

Are there hash algorithms with variable length output?

My question is if there is a hash-like algorithm that will produce a hash value where one can specify the length of the outcome? … So one would specify that that given any input the hash value (output) should be say 1000 bits. For example, I would like to produce a hash value of the same length as the input. …
Thomas's user avatar
  • 1,184
4 votes
3 answers
3k views

Hash function in PBKDF2

From what I understand, one has to choose a hash function and that the SHA might be a good choice. … (1) Is there a nicer simpler hash function that could semi-securely be used in PBKDF2? Or alternatively a simpler, but still nice way of padding a password that would be "easy" to do "by hand"? …
Thomas's user avatar
  • 1,184