SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

Decrypt MD5CryptoService and TripleDESCryptoService from SAS

Reply
Occasional Contributor
Posts: 9

Decrypt MD5CryptoService and TripleDESCryptoService from SAS

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

Respected Advisor
Posts: 3,902

Re: Decrypt MD5CryptoService and TripleDESCryptoService from SAS

[ Edited ]

@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).

Super User
Posts: 6,971

Re: Decrypt MD5CryptoService and TripleDESCryptoService from SAS

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 2 replies
  • 173 views
  • 0 likes
  • 3 in conversation