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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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