hash mode numbering logic
#1
Hi,

What is the logic behind the numbering of hashmodes

Code:
- [ Hash modes ] -

     # | Name                                             | Category
 ======+==================================================+======================================
   900 | MD4                                              | Raw Hash
     0 | MD5                                              | Raw Hash
  5100 | Half MD5                                         | Raw Hash
   100 | SHA1                                             | Raw Hash
  1300 | SHA-224                                          | Raw Hash
  1400 | SHA-256                                          | Raw Hash
 10800 | SHA-384                                          | Raw Hash
  1700 | SHA-512                                          | Raw Hash
...


AFAIK this has historically grown, but how are numbers assigned to new algorithms, any logic behind this?

I've checked github but couldn't find anything.
The closest reference I've found is https://hashcat.net/forum/thread-953.html but this is out of date and incomplete.


Regards,
Sjohnny
#2
It's mostly devoid of logic. There are some notable exceptions like the veracrypt familiy.
#3
There is also a broad kind of namespace management that seems to have started later, where types are grouped. For example, most of the MS Office ones are near each other, etc. When someone adds a mode, atom often has guidance about what number should be picked next. I don't know if his criteria are documented anywhere.
~
#4
Thanks for the replies, makes sense.
#5
There's a clear pattern to it, you just have to be German to understand it.
#6
(03-22-2018, 11:58 PM)epixoip Wrote: There's a clear pattern to it, you just have to be German to understand it.

Then I'm obviously not German enough to get it... Wink