Author Topic: Hash Function  (Read 1542 times)

0 Members and 1 Guest are viewing this topic.

Coder

  • Swamp Rat
  • Posts: 827
Hash Function
« on: October 01, 2017, 11:20:43 AM »
Hello folks.

I come a cross Lee Mac's MD5 Hash function http://www.lee-mac.com/md5.html that converts any string to hash encrypted string.

Thank you Lee for that great function.

Is it possible to convert the return string back? 

Many thanks in advance.


VovKa

  • Water Moccasin
  • Posts: 1631
  • Ukraine
Re: Hash Function
« Reply #1 on: October 01, 2017, 05:25:37 PM »
Is it possible to convert the return string back? 
hashes are ment to be unreversible

Coder

  • Swamp Rat
  • Posts: 827
Re: Hash Function
« Reply #2 on: October 02, 2017, 06:04:02 AM »
Thank you for your kind answer and confirmation.

Sorry, just another question come up to my mind.
Could the return of Hash function be by any chance the same as any other random string? Is it unique return string all the time?

Thanks again.

JohnK

  • Administrator
  • Seagull
  • Posts: 10638
Re: Hash Function
« Reply #3 on: October 02, 2017, 08:23:37 AM »
You use a hash to preform a checksum (to verify what you have is what you expected). So, no random string will suffice.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Coder

  • Swamp Rat
  • Posts: 827
Re: Hash Function
« Reply #4 on: October 02, 2017, 08:41:35 AM »
Thank you.