I know "encrypt" isn't the right description here. It's more like trying to "obfuscate" or "scramble" a password in a plaintext shell script. Say you have a UNIX shell script that does FTP to Windows ...
Shell scripting is one of those skills that are absolutely invaluable on especially UNIX and BSD-based systems like the BSDs, the two zillion Linux distributions as well as MacOS. Yet not every shell ...