https://www.ask-sheldon.com/base64-encode-on-shell/
Base64 encode on shell