veagles
veagles

Reputation: 525

On the fly encryption in C#

I am learning C#. I want to code an on the fly encryption program. Something similar to Truecrypt. It basically creates an encrypted container, which can be mounted as a virtual drive and from which you can decrypt files on the fly without writing them to the hard drive. Truecrypt uses some filter drivers [ I dont know what they are]. I need to know if it can be implemented in c#. Do i need to learn any driver programming? Can it be done without the use of drivers? What all do i need to learn?

Upvotes: 0

Views: 1452

Answers (1)

casperOne
casperOne

Reputation: 74540

You won't be able to do this in C# (or any .NET language for that matter) as device drivers must be written in unmanaged code.

Additionally, you have a more subtle problem. You might be keeping the information in memory, but that memory might be paged out to disk, which is something that you have to avoid if you want this to be truly secure.

Upvotes: 5

Related Questions