I am looking for a file encryption library in .NET. It should be able to search , so CryptoStream is out of the question. (I know that it inherits the Seek method, but it is not implemented.)
I need to search because my application is processing large files in the wrong order. I also have to read and write files at the same time .
I know that most of the time CBC is used to encrypt files, but searching (and writing) is not possible with it. But somehow, complete disk encryption software, for example TrueCrypt and BitLocker, managed to use it in this way. (Edit: TrueCrypt no longer uses CBC, they moved to LRW , then to XTS . I can say that this is possible.)
This is a hobby project, so I'm interested in free libraries. It also doesn't matter if it only supports .NET 4.
Edit : Bouncy Castle is not very good, because CipherStream cannot search in the same way as .NET CryptoStream.
source
share