Note that there are some explanatory texts on larger screens.

plurals
  1. POFile encryption library for .NET
    text
    copied!<p>I'm looking for a file encryption library under .NET. <strong>It needs to be able to seek</strong> so <a href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.cryptostream.aspx" rel="nofollow noreferrer" title="CryptoStream">CryptoStream</a> is out of question. (I know it inherits a Seek method but it's not implemented.)</p> <p>I need to seek because my application deals with large files in a non-sequential order. I also <strong>need to read and write the files at the same time</strong>.</p> <p>I know that most of the time <a href="http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher-block_chaining_.28CBC.29" rel="nofollow noreferrer">CBC</a> is used for file encryption but seeking (and writing) is impossible using it. But somehow full disk encryption softwares like <a href="http://www.truecrypt.org/" rel="nofollow noreferrer">TrueCrypt</a> and <a href="http://en.wikipedia.org/wiki/BitLocker_Drive_Encryption" rel="nofollow noreferrer">BitLocker</a> manage to use it like that. (<em>Edit: TrueCrypt doesn't use CBC any more, they moved to <a href="http://en.wikipedia.org/wiki/Disk_encryption_theory#LRW" rel="nofollow noreferrer">LRW</a> then to <a href="http://en.wikipedia.org/wiki/Disk_encryption_theory#XTS" rel="nofollow noreferrer">XTS</a>. My point is that it's possible.</em>)</p> <p>This is a hobby project so I'm interested in free libraries. Also it doesn't matter if it only supports .NET 4.</p> <p><strong>Edit</strong>: <a href="http://www.bouncycastle.org/" rel="nofollow noreferrer">Bouncy Castle</a> isn't good because it's <em>CipherStream</em> can't seek just like .NET's CryptoStream.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload