Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PBEWithMD5AndDES support

Status
Not open for further replies.

iupload

Programmer
Jul 6, 2004
3
CA
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top