BookmarkSubscribeRSS Feed
amits
Calcite | Level 5
Hi There,

Is there any SAS function to decode hashed data. I ave hashed the data using MD5 function and wants to know how can I convert the MD5 values back to original.

Thanks in advance.
3 REPLIES 3
PaulHomes
Rhodochrosite | Level 12
Hi,

MD5 is a one-way secure hash function and as such you are not supposed to be able to convert an MD5 hash value back to the original. MD5 is/was often used for verifying passwords without having to store the password, and so you can imagine how unsuitable it would be if you could easily derive a password from its MD5 hash 🙂

For more info on SAS MD5 function see http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/a003064419.htm and for info on the MD5 algorithm see http://en.wikipedia.org/wiki/MD5

Cheers
Paul
andreas_lds
Jade | Level 19
MD5 is a one-way hash-function, restoring the originial value is not easy. I doubt that it can be done within SAS.

More information about the md5-algorithm can be found at http://en.wikipedia.org/wiki/Md5
amits
Calcite | Level 5
Thanks guys!!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 4849 views
  • 0 likes
  • 3 in conversation