Can a hash type be identified?

I know that you can compare the length, but many types of hashes have the same length.

Is there a way to identify the hash type and was it salty?

For instance:

hash=2bf231b0e98be99a969bd6724f42a691
hash=4ac5a4ff764807d6ef464e27e4d1bee3
hash=4d177cec31d658ed22cc229e45d7265e
+3
source share
4 answers

No; you can pretty much identify it by length.

- Change:

Obviously, however, if you have access to a program generating hashes and you can provide input, then you can compare with some result that you will also calculate (if you know the salt.

If you are really stuck, you can also get it out of your language (i.e. if it's PHP, it's most likely MD5), etc.

; :) ( ).

+5

32- - , MD5.

SHA-1 - 40 ( SHA-0)

MD5 SHA-1 , .

+4

, .

, , - https://code.google.com/p/hash-identifier/.

, Hash_ID.py:

$ openssl sha -sha256 Hash_ID.py 
SHA256(Hash_ID.py)= 5382a8826c972f8fa8687efe1f68e475c02af4bf542b0d7e68b9deffd388db96

Hash_ID.py Hash:

$ python Hash_ID.py 
   #########################################################################
   #     __  __                     __           ______    _____           #
   #    /\ \/\ \                   /\ \         /\__  _\  /\  _ `\         #
   #    \ \ \_\ \     __      ____ \ \ \___     \/_/\ \/  \ \ \/\ \        #
   #     \ \  _  \  /'__`\   / ,__\ \ \  _ `\      \ \ \   \ \ \ \ \       #
   #      \ \ \ \ \/\ \_\ \_/\__, `\ \ \ \ \ \      \_\ \__ \ \ \_\ \      #
   #       \ \_\ \_\ \___ \_\/\____/  \ \_\ \_\     /\_____\ \ \____/      #
   #        \/_/\/_/\/__/\/_/\/___/    \/_/\/_/     \/_____/  \/___/  v1.1 #
   #                                                             By Zion3R #
   #                                                    www.Blackploit.com #
   #                                                   Root@Blackploit.com #
   #########################################################################

   -------------------------------------------------------------------------
 HASH: 5382a8826c972f8fa8687efe1f68e475c02af4bf542b0d7e68b9deffd388db96

Possible Hashs:
[+]  SHA-256
[+]  Haval-256

Least Possible Hashs:
[+]  GOST R 34.11-94
[+]  RipeMD-256
[+]  SNEFRU-256
[+]  SHA-256(HMAC)
[+]  Haval-256(HMAC)
[+]  RipeMD-256(HMAC)
[+]  SNEFRU-256(HMAC)
[+]  SHA-256(md5($pass))
[+]  SHA-256(sha1($pass))

Hash ID, , -, , .

+3

:


2bf231b0e98be99a969bd6724f42a691 MD5: gombaliste0
4ac5a4ff764807d6ef464e27e4d1bee3 MD5: gombaliste2
4d177cec31d658ed22cc229e45d7265e MD5: gombaliste129

+2

Source: https://habr.com/ru/post/1728981/


All Articles