# Created on savesnippets.com ยท https://savesnippets.com/szbz60pirE4QRN # openssl โ€” universally available openssl rand -base64 32 # base64 (with + / =) openssl rand -hex 16 # 32-char hex # /dev/urandom + tr โ€” zero deps, customize alphabet LC_ALL=C tr -dc 'A-Za-z0-9!@#$%^&*'