Rijndael class, Padding bug?, Ivan Medvedev

From: AJoshi (ajoshi@approva.net)
Date: 01/13/03


From: "AJoshi" <ajoshi@approva.net>
Date: Mon, 13 Jan 2003 17:28:28 +0530


I used code similar to the one posted by Ivan on 1/4/2003, except that I
used byte[] for raw, encrypted and decrypted data. I did not use any
streams. Something very strange. I used the CreateEncryptor and
CreateDecryptor methods on the Rijndael class and used the TransformBlock
methods of the returned ICryptoTransform. Encryption works fine. Decryption
works only if you set the Padding property of the Rijndael class to
Padding.None. Strange.
Thanks
A Joshi



Relevant Pages

  • Re: cryptography
    ... The Rijndael class is intended to be the ... > For a couple examples of simple encryption using the RijndaelManaged class ... >> internal static void Encrypt(string StringToCrypt, string fileOut, string ... >> when i run the above code, encryption is smooth,however when decryption ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: "Access Denied" with encrypted USB device
    ... software and one for decrypted data. ... The device is a sandisk cruzer and the encryption is sanctuary from lumension. ... I am having some problems with encrypted USB devices. ... encryption software then the drives work fine. ...
    (microsoft.public.windowsxp.security_admin)
  • Migration to Win 2K3
    ... We have a SQL Server 2000 database wherein we store encrypted data as ... code) is encrypted using Windows 2000-based encryption. ... DES-based encryption, ... decrypted data in column Win2K3PwdD. ...
    (microsoft.public.sqlserver.security)
  • RSACryptoServiceProvider Encrypt/Decrypt
    ... I know that this data has been encrypted by passing true in fOAEP paramenter ... in Encrypt method. ... but I don't have source code to access this encryption ... Is there anyway I can get the decrypted data from CF 2.0? ...
    (microsoft.public.dotnet.framework)
  • RSACryptoServiceProvider Encrypt/Decrypt
    ... I know that this data has been encrypted by passing true in fOAEP paramenter ... in Encrypt method. ... but I don't have source code to access this encryption ... Is there anyway I can get the decrypted data from CF 2.0? ...
    (microsoft.public.dotnet.framework.compactframework)