N
N
NikKoster2019-04-12 19:58:06
Hashing
NikKoster, 2019-04-12 19:58:06

Why are most hashing algorithms 16 characters long?

Most hashing algorithms that are suitable for comparison (==) consist of characters: 1234567890abcdef
These are algorithms such as: MD5, all SHA, all Keccak, all Shake.
Why don't they use all the letters of the English alphabet in different case?
After all, this is 62 characters against 16 - so there are more options for enumeration, which means more resistance to hacking.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
15432, 2019-04-12
@15432

This is a form of writing an arbitrary data set. You can also encode it in base64 and you will have a shorter string of all Latin characters.
The convenience of hexadecimal notation lies in the multiplicity of the power of two - exactly two characters go to one byte (8 bits).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question