SAS Programming

DATA Step, Macro, Functions and more
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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 4482 views
  • 0 likes
  • 3 in conversation