iconBjarne Verschorre

../what-types-of-encryption-to-use.md

The Differences

Cloud Storage

For cloudstorage I’d recommend using 7zip or something the like. It allows you to reduce the size which saves on bandwith, upload and download time and storage space which is limited in the cloud.

You can easily use a different password per file/folder.

7z a -mhe=on -mx9 -p images.7z images/

Local Encryption

There are some key differences between VC/LUKS and 7zip.

With something that is archived (and compressed) you’d need to extract the files you want/need to use and delete them afterwards.

Using something like a VC container or an encrypted partition allows you to decrypt, use and encrypt.

So if you’re just saving some files and not activily using them, archive and encrypt them. If you need to search the data, use some files or something among those lines, use a container or partition.

A container is more portable but a partition is more usefull since it doesn’t rely on your OS. If you lose access to your OS, you won’t be able to access your container directly, with a different partition you don’t have this problem.

← My Servers Tmux Config Revamped Website →