decrypt with a symmetric algorithm
From: eliraz (anonymous_at_discussions.microsoft.com)
Date: 05/24/04
- Next message: Tim B: "Re: Check Current User is a Domaingroup member"
- Previous message: Maz: "Re: No-touch deployment, digital certificates and Code Access Security"
- Next in thread: Eric Marvets: "Re: decrypt with a symmetric algorithm"
- Reply: Eric Marvets: "Re: decrypt with a symmetric algorithm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 24 May 2004 00:06:02 -0700
Hello
I am tring to decrypt a message that was encrypted with a symmetric algorithm.
I am using the CryptoStream class to write the decrypted message to a MemoryStream.
when I run cryptostream.FlushFinalBlock I am getting the errror:
Length of the data to decrypt is invalid
I just want to say that the code that make the encryption is the same as the one that make the decryption - just using the CerateDecryptor insteed of CreateEncryptor.
thanks in advance
- Next message: Tim B: "Re: Check Current User is a Domaingroup member"
- Previous message: Maz: "Re: No-touch deployment, digital certificates and Code Access Security"
- Next in thread: Eric Marvets: "Re: decrypt with a symmetric algorithm"
- Reply: Eric Marvets: "Re: decrypt with a symmetric algorithm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|