Is there any C# equivalent implementation of java's "PBEWithMD5AndDES". I found the Des implementation in C# but not "PBEWithMD5AndDES". Any idea will be appreciated!
From what I can tell, PBEWithMD5AndDES is a way to store the secret portion of a key on the local machine, protected by a password.
In the Windows world, this would be done via the Data Protection API (DPAPI), which uses the user's Windows Credentials to encrypt and store data so that only that user can access it.
Unfortunately, there's no .net classes for this in v1.1 (I don't have access to v2.0 info at work), so you'll probably be using DLLImport statements to create the method calls you'll need to use it. But do a Google search, maybe someone has already created a wrapper library for you.
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
PBEWithMD5AndDES" is usually used to encrypt passwords with MD5 for cipher and Des for encryption/decryption. In my situation, I receive a password that is encrypted with "PBEWithMD5AndDES" in java and i will decrypt it using the same algorithm "PBEWithMD5AndDES". I googled, but found very little info about it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.