Decrypting getfile stream. (General questions)

by Gwydion @, (7398 days ago)

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 );

locked

Re: Decrypting getfile stream.

by Jasmine, (7393 days ago) @ Gwydion

Gwydion,

hi. Can you please send email to techsupport@weonlydo.com . Please send us code snippet that encrypts or decrypts *any* stream the way you need it, we will then put it against wodSFTP.NET to see how to use it from there.

Possible?

locked