使用dd
命令
dd if=/dev/urandom bs=1 count=128 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev
使用sha384sum
生成
date +%S | sha384sum | base64 | head -c 64 ;echo
使用 md5sum
和上一条差不多
date +%s | md5sum | base64 | head -c 32; echo
date |md5sum |head -c 32;echo
执行过程
openssl rand -base64 32
最新评论
密码:blog.sirliu.com
本内容密码:blog.sirliu.com 最新整理的文章在这里喔:https://blog.sirliu.com/2018/11/shell_lian_xi_ti.html