Read Rijndael encrypted file in memory itself to decrypt

284 views Asked by At

I have a file which is encrypted using Rijndael encryption method. I want to decrypt in memory itself, instead of writing it to disk.

So I tried using BinaryReader to read the file. But how to use BinaryReader and read the binary file so that i can decrypt it. I tried using ReadString and and it gives "Unable to read beyond the end of the stream." error .

So how to read the file so that I can decrypt file using Rijndael method in memory itself.

0

There are 0 answers