Re: RijndaelManaged encryption problem

From: Leon Finker (nospam_at_spamfree.com)
Date: 07/31/03


Date: Wed, 30 Jul 2003 23:10:39 -0400


Hello,

What doesn't work exactly? Without looking at source,
maybe it's just not padded? Try specifying different
PaddingMode.

Windows come with AES/Rijndael starting with
WindowsXP/Win2k3 if that requirement suits you
then you're all set:
MS_ENH_RSA_AES_PROV/PROV_RSA_AES/CALG_AES_256

OpenSSL's AES/Rijndael that comes as part of its crypto
library works with .Net's. Using it is very easy too. I can give you
more pointers on that:
http://www.openssl.org

There is also Crypto++ library:
http://www.eskimo.com/~weidai/cryptlib.html

"Steve Foxover" <steve@stevefoxover.com> wrote in message
news:068801c35703$a13158b0$a401280a@phx.gbl...
> Hi,
>
> I am using RijndaelManaged in a C# test app. I can encode
> and decode
> to base64 fine in this app. What I need to do is be able
> to encode in
> a C++ unmanaged MFC app (client) and then have the C#
> (server) app
> decode this. I am having no luck finding C++ code that is
> compatable
> with C# RijndaelManaged.
>
> Does any one know of any settings I need to use in
> RijndaelManaged to
> make it work with another Rijndael implementation?
>
> The C++ version I am using is:
> http://www.esat.kuleuven.ac.be/~rijmen/rijndael/rijndael-
> cpplib.tar.gz
> "The v2.4 code, rewritten as a compact-easy-to-use C++
> class by Szymon
> Stefanek"
>
> Thanks
>
> Steve
>



Relevant Pages

  • RijndaelManaged encryption problem
    ... I am using RijndaelManaged in a C# test app. ... I can encode ... decode this. ... make it work with another Rijndael implementation? ...
    (microsoft.public.dotnet.security)
  • Rijndael/AES implementations
    ... The Rijndael/AES encryption cipher is supported in Windows natively only on ... Windows XP and Windows Server 2003. ... There is a managed version of Rijndael also available in .NET 1.1. ... MVP Security ...
    (microsoft.public.platformsdk.security)
  • Re: block ciphers
    ... > i try to encrypt some data with aes (rijndael) cipher... ... Windows, Linux & UNIX software ...
    (comp.os.linux.security)