Welcome! Log In Create A New Profile

Advanced

RC2 decrypt needed

Posted by Arie 
Arie
RC2 decrypt needed
December 13, 2008 03:47PM
Hi,
I need to decrypt a RC2 crypted password. These passwords are generated with an external (not mine) application and saved in a database.

WD Uncrypt() does not support RC2, afaik.

Does anyone know a (free?) library/dll

Arie
Jimbo
Re: RC2 decrypt needed
December 13, 2008 05:04PM
Hi, you should use google for a search, there are ready-made programs for encryption / decryption with rc2. Find one which does the job from the command line or by DLL.

Otherwise, there's a start:
[www.koders.com]

Kind regards,
Guenter



Edited 1 time(s). Last edit at 12/13/2008 06:25PM by Jimbo.
BLS
Re: RC2 decrypt needed
December 14, 2008 01:35PM
Hi Arie,
seems that both of us are in encryption buisiness smiling smiley


Ok, in case that using the dot net framework is an option you can use :

System.Security.Cryptography to implement RC2 cipher.

algorithmName = "RijnDael"
-----------------------------------------------------------------------------------------------------------------------
Just had a look at the C++ sources (Jimbo's link) ...writing a function wrapper around the C++ classes seems to be very time consuming: Good luck

C# implementation.
[www.mycsharp.de]

hth Bjoern




Edited 1 time(s). Last edit at 12/14/2008 01:36PM by BLS.
BLS
Re: RC2 decrypt needed
December 14, 2008 02:03PM
Hi Arie,

I think this is what you are looking for :

[www.chem.leeds.ac.uk]

Creating a DLL should be a piece of cake .) even porting to WD is IMO doable.
(Wish we have C-ish operators in WD)

HTH Bjoern



Edited 1 time(s). Last edit at 12/14/2008 02:10PM by BLS.
Arie
Re: RC2 decrypt needed
December 14, 2008 09:39PM
Bjoern,
To be honest: these are my first crypting steps...

I read about the Micrsoft CryptoAPI. It can be found in a good old DLL c:\windows\system32\crypt32.dll.
I think it's propageted to System.Security.Cryptography, which you mentioned as the dotnet version.

I'm struggling now getting this at work.

I found FrezCryto available from [www.frez.co.uk], which is a wrapper for crypt32.dll.
It is build in VB and is actually an activex dll (so it should be registered first). I will try this one as well, next week.
But I'm not sure if I'm allowed to register extra dll's on the machine which will become our web-server.


Arie
BLS
Re: RC2 decrypt needed
December 15, 2008 12:08AM
Hm,
IMO the DLL you are looking for (to implement RC2 crypt/encrypt) is Advapi32.dll
No ActiveX needed.
Google for CryptAcquireContext and CryptEncrypt ,,,,

Bjoern
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: