I'm adding to a backup script that I wrote so that it will encrypt my backup file and email it to an external email address.
Not knowing anything about encryption, I thought I'd ask for any advice you can give: which algorithm should I use that gives reasonably strong encryption, without going overboard with CPU/time? I don't actually think someone is going to hack into my email account and steal the backup, but if you're going to do it, you might as well do it properly, right?
Here is the list of algorithms available:
The default is "rijndael-128, keysize: 32 bytes, mode: cbc,".
Thanks,
Feathers
Not knowing anything about encryption, I thought I'd ask for any advice you can give: which algorithm should I use that gives reasonably strong encryption, without going overboard with CPU/time? I don't actually think someone is going to hack into my email account and steal the backup, but if you're going to do it, you might as well do it properly, right?
Here is the list of algorithms available:
Code:
feathers-mcgraw@Hobbs-T440s:~$ mcrypt --list cast-128 (16): cbc cfb ctr ecb ncfb nofb ofb gost (32): cbc cfb ctr ecb ncfb nofb ofb rijndael-128 (32): cbc cfb ctr ecb ncfb nofb ofb twofish (32): cbc cfb ctr ecb ncfb nofb ofb arcfour (256): stream cast-256 (32): cbc cfb ctr ecb ncfb nofb ofb loki97 (32): cbc cfb ctr ecb ncfb nofb ofb rijndael-192 (32): cbc cfb ctr ecb ncfb nofb ofb saferplus (32): cbc cfb ctr ecb ncfb nofb ofb wake (32): stream blowfish-compat (56): cbc cfb ctr ecb ncfb nofb ofb des (8): cbc cfb ctr ecb ncfb nofb ofb rijndael-256 (32): cbc cfb ctr ecb ncfb nofb ofb serpent (32): cbc cfb ctr ecb ncfb nofb ofb xtea (16): cbc cfb ctr ecb ncfb nofb ofb blowfish (56): cbc cfb ctr ecb ncfb nofb ofb enigma (13): stream rc2 (128): cbc cfb ctr ecb ncfb nofb ofb tripledes (24): cbc cfb ctr ecb ncfb nofb ofb
Thanks,
Feathers
Comment