FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » C# RijndaelEnhanced decrypt with php mcrypt
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: C# RijndaelEnhanced decrypt with php mcrypt [message #174153 is a reply to message #174048] Mon, 23 May 2011 17:17 Go to previous messageGo to previous message
Trevor is currently offline  Trevor
Messages: 11
Registered: February 2011
Karma:
Junior Member
This is somewhat similar to a problem I faced last week. I ended up
putting the functionality I needed into a custom assembly and then using
this to call it from PHP: http://universalccw.sourceforge.net/

- Trevor

On 5/20/2011 3:12 AM, Heiko GreenRover Henning wrote:
> hi
>
> i have a C# .net app with i decompiled. This app uses for login password
> cryption:
> http://www.obviex.com/samples/Sample.aspx?Source=EncryptionWithSaltCS&T itle=Encryption%20With%20Salt&Lang=C%23
>
>
> C# Code
> rijndaelKey = new Krypto.RijndaelEnhanced(passPhrase, initVector);
> PlainPassword =
> DiverseVariablen.rijndaelKey.Decrypt(Conversions.ToString(row["ProjectKennwort "])))
>
>
>
> I have pass and iv.
>
> How can i decrypt the passwords in php? I tryted allready several
> variants of mcrypt_decrypt().
>
> Didt somene have a idea?
>
> Wha i dont understand is that the iv has 16 chars but it should be an
> 256b encryption with normaly depends a 32chars iv.
>
> I also allready tryed a http://phpseclib.sourceforge.net/ for decryption
> without any success.
> http://pastebin.com/SKPG7gR2
>
> Friendly regards and big thanks.
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: urgent
Next Topic: is dis da place?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 19:27:42 GMT 2024

Total time taken to generate the page: 0.05157 seconds