Decrypting getfile stream. (General questions)
I read in the wodSFTP.NET manual that it's possible to use streams with putfile and getfile methods. I want to decrypt the stream comming from the getfile method using CryptoStream and then store them on disk. I can't figure out how to get this to work.
Some code snippets.
UnicodeEncoding UE = new UnicodeEncoding();
byte[] key = UE.GetBytes( password );
RijndaelManaged RMCrypto = new RijndaelManaged();
CryptoStream cs = new CryptoStream( fsCrypt, RMCrypto.CreateDecryptor( key, key ), CryptoStreamMode.Read );
Complete thread:
- Decrypting getfile stream. - Gwydion, 2005-01-28, 21:52
- Re: Decrypting getfile stream. - wodSupport, 2005-02-03, 10:56