You can use the tar and gzip commands to create a tar.gz file and then encrypt it with a password using openssl .
To ensure strong encryption (not the legacy ZipCrypto), use the -e flag with AES: password protect tar.gz file
tar -czf - directory/ | openssl enc -e -aes-256-cbc -in - -out encrypted.tar.gz You can use the tar and gzip commands to create a tar
GnuPG is the standard tool for encryption on Linux/Unix systems. It uses strong symmetric encryption (AES-256) by default. or internal documentation.
Here’s a post you can use for social media, a blog, or internal documentation.