openssl :
openssl passwd -stdin < <(echo)
urandom:
10 位的md5 字符串
cat /dev/urandom | head -n 10 | md5sum | head -c 10
linux uuid:
cat /proc/sys/kernel/random/uuid | cksum | cut -f1 -d " "
date产生随机数:
date +%s%N
openssl passwd -stdin < <(echo)
10 位的md5 字符串
cat /dev/urandom | head -n 10 | md5sum | head -c 10
cat /proc/sys/kernel/random/uuid | cksum | cut -f1 -d " "
date +%s%N
近期评论