Author Topic: Reversing a hash  (Read 1425 times)

Offline Yehuda25

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 6091
  • Total likes: 78
  • DansDeals.com Hat Tips 9
    • View Profile
Reversing a hash
« on: November 19, 2014, 12:05:09 AM »
I have a hashed mac address, and the mac address (the key) is there any way using this info to find out the hash that was used to hash it originally?
“To avoid criticism say nothing, do nothing, be nothing.”


― Aristotle

Offline AnonymousUser

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Feb 2013
  • Posts: 3002
  • Total likes: 13
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Reversing a hash
« Reply #1 on: November 19, 2014, 12:12:39 AM »
I have a hashed mac address, and the mac address (the key) is there any way using this info to find out the hash that was used to hash it originally?
Unless you know the algorithm that was used, I think that's the whole point of a hash, that it cannot be used to figure out the data it came from.

Offline BAHayman

  • Administrator
  • Dansdeals Lifetime Platinum Elite
  • **********
  • Join Date: Mar 2010
  • Posts: 1939
  • Total likes: 28
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Reversing a hash
« Reply #2 on: November 19, 2014, 07:53:27 AM »
A hash is a one way function and cannot be reversed.

If you have the data that was hashed, and it wasn't salted, or hashed with a key using an hmac, then you can at least narrow it down by the length of the hash.

The most common hashes are md5, sha1, and the sha2 family. You can check Wikipedia for the length of the hashes. http://en.m.wikipedia.org/wiki/List_of_hash_functions

It would only take a couple of minutes to rehash the data and see if you get the same result.

Offline Yehuda25

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 6091
  • Total likes: 78
  • DansDeals.com Hat Tips 9
    • View Profile
Re: Reversing a hash
« Reply #3 on: November 19, 2014, 08:38:15 AM »
A hash is a one way function and cannot be reversed.

If you have the data that was hashed, and it wasn't salted, or hashed with a key using an hmac, then you can at least narrow it down by the length of the hash.

The most common hashes are md5, sha1, and the sha2 family. You can check Wikipedia for the length of the hashes. http://en.m.wikipedia.org/wiki/List_of_hash_functions

It would only take a couple of minutes to rehash the data and see if you get the same result.
thank you! I'm going to give it a try now!
“To avoid criticism say nothing, do nothing, be nothing.”


― Aristotle

Offline satturn

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: May 2011
  • Posts: 951
  • Total likes: 30
  • DansDeals.com Hat Tips 5
  • Gender: Male
    • View Profile
  • Location: Old City - Jerusalem
  • Programs: Kotel Security Pass
Re: Reversing a hash
« Reply #4 on: November 23, 2014, 10:57:21 AM »
i think this is the first time a did not understand a single word of a DD thread.... And i'm the techie type

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 3370
  • Total likes: 1241
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: Reversing a hash
« Reply #5 on: November 23, 2014, 11:46:56 AM »
i think this is the first time a did not understand a single word of a DD thread.... And i'm the techie type
FTR, this this whole thread is essentially a repost  :)
http://forums.dansdeals.com/index.php?topic=6618.msg172543#msg172543

Offline AnonymousUser

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Feb 2013
  • Posts: 3002
  • Total likes: 13
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Reversing a hash
« Reply #6 on: November 23, 2014, 12:40:00 PM »

Offline Yehuda25

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 6091
  • Total likes: 78
  • DansDeals.com Hat Tips 9
    • View Profile
Re: Reversing a hash
« Reply #7 on: November 23, 2014, 08:16:33 PM »
FTR, this this whole thread is essentially a repost  :)
http://forums.dansdeals.com/index.php?topic=6618.msg172543#msg172543
Not really, this is trying to reconstruct the hash, that thread is mostly concerning the strength of the hashes in regard to whether they were salted or not. Similar concept though.
“To avoid criticism say nothing, do nothing, be nothing.”


― Aristotle