I often use this bash-alias for compressing and encrypting folders, for uploading them to the cloud:
alias zzz="7z a -mhe=on -mmt=on -t7z -p9IpxHulB3tJWqxINeSbs5Ojeju -mx=9"
So I type for example:
zzz ~/myuploadfoder/documents.7z ~/Documents
In this case my passphrase stands in “clear text” in my bashrc file.
Is there any way to “kind of hash” this passphrase, so that it is not readable (so that I could even public this bashrc file on gitlab or so, just an example) ?
I hope I could make clear what I am looking for…
Thank you already for your input and help