openssl使用

生成32位随机密码,只包含字母和数字:

echo `openssl rand -base64 50  | tr -dc A-Z-a-z-0-9 | head -c${1:-34}`
原文地址:https://www.cnblogs.com/igoodful/p/13527882.html