DavidXanatos / DiskCryptor

A fork of the DiskCryptor full disk encryption tool
https://www.diskcryptor.org/
459 stars 98 forks source link

create encrypted container #88

Open diieg707 opened 11 months ago

diieg707 commented 11 months ago

create encrypted container feature

RadarNyan commented 11 months ago

DiskCryptor isn't really designed to do that, but you can create a VHD and use DiskCryptor to encrypt volumes on mounted VHD, it will work just like any other volumes.

If you don't care too much about performance, you should use VeraCrypt which is designed for this use case, but the way it works will introduce a performance hit, especially on "4K random" read/write speeds:

VeraCrypt (File Container) DiskCryptor (VHD)
VeraCrypt DiskCryptor(VHD)

(I have just done those tests on my machine, the VHD/file container is stored on an old SSD encrypted with DiskCryptor, so there will be additional overheads, but it shows the performance difference nonetheless.)

diieg707 commented 11 months ago

DiskCryptor isn't really designed to do that, but you can create a VHD and use DiskCryptor to encrypt volumes on mounted VHD, it will work just like any other volumes.

If you don't care too much about performance, you should use VeraCrypt which is designed for this use case, but the way it works will introduce a performance hit, especially on "4K random" read/write speeds:

VeraCrypt (File Container) DiskCryptor (VHD) VeraCrypt DiskCryptor(VHD) (I have just done those tests on my machine, the VHD/file container is stored on an old SSD encrypted with DiskCryptor, so there will be additional overheads, but it shows the performance difference nonetheless.)

after i bought a nvme gen4 i discovered veracrypt sucks on nvme, that's why i'm considering using diskcryptor, well i think your workaround will work just find, thx