Md5 of length 64 bits?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
5 views
Is it possible and if Yes then how to obtain the md5 hash of length 64 bits? Option piece in 64 bits from 128 bits is not considered.


P. S. And what's funny minusovaniya?
by | 5 views

6 Answers

0 like 0 dislike
md5 does... you Can take the first 64 bits and to make the xor with the second 64 bits. But the quality of hash will fall, respectively, in 2^64 times...
by
0 like 0 dislike
The cons, obviously, because it is difficult to give an answer to the wrong question. An MD5 hash is a hash of length 128 bits. If you need a 64-bit hash is not MD5. To give some advice on hash, you should know why you need one, because there are cryptographic hashes are common hashes for hash tables, and sometimes hashes are also called checksums. Most likely you need hash tables, but 64 bits is something very much for him.
by
0 like 0 dislike
Option piece in 64 bits from 128 bits is not considered.

Why?
As far as I know, due to the avalanche effect, which has the md5 hash in the form of 64 bits from the md5 will have the same properties as the whole md5, except, actually, bit.
And XOR of the first half with no second payload does not carry.
If wrong, please correct.
by
0 like 0 dislike
by
0 like 0 dislike
If you need a random value with a length of 64 bits, based on md5, try xor the first half of the hash with the second. But it is (as I understand) does not differ from just half of the hash, because the number of possible values is the same.
\r
If you need a 64-bit hash for hash.
by
0 like 0 dislike
Impossible.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
asked Apr 27, 2019 by LafTomas
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
27,959 users