BookmarkSubscribeRSS Feed
Kayalvizhi
Fluorite | Level 6

Hi All,

Please let me know how we can decrpt the values by use of salt key. Below are the other details(from .Net).Kindly let me know if any other detail is required.

tDes.Mode = CipherMode.ECB;
tDes.Padding = PaddingMode.PKCS7;

Thanks,
Kayalvizhi

2 REPLIES 2
Patrick
Opal | Level 21

@Kayalvizhi

Please ask a better formulated question and provide much more detail.

In general: If something is encrypted then you shouldn't be able to decrypt it if you haven't got the key. At least in my mind that's the difference between "encoding" and "encrypting".

 

The only way to decrypt: The encryption algorithm is reversible and you've got the algorithm needed to decrypt. If so then please post this algorithm and we're eventually able to help you with implementing it using SAS.

 

....and always provide sample data. What you have (data step creating the data) and what you want (in a form that we can actually implement and test code using your Have and creating the Want).

Kurt_Bremser
Super User

MD5 creates a hash for a given piece of data. This just so that the data can be verified against the hash, but you cannot (by definition) decrypt the original data out of the hash, simply because the hash has a fixed length, independent of the original data.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 856 views
  • 0 likes
  • 3 in conversation