7-Zip is a cross-platform archiver that natively supports AES-256 encryption with .7z or .zip formats. It can also handle .tar.gz but with a two-step process.
openssl enc -d -aes-256-cbc -in myfiles.tar.gz.enc -out myfiles_decrypted.tar.gz password protect tar.gz file
openssl enc -d -aes-256-cbc -in final_backup.tar.gz.enc | tar xzv 7-Zip is a cross-platform archiver that natively supports
7z x -p encrypted.tar.gz
Historically, using the -z flag with a password was simple, but often led to compatibility headaches. Worse, many modern implementations of tar have actually removed native password support for compression, forcing users to rely on the openssl method mentioned above. password protect tar.gz file