1.产生随机数 2.md5计算 3.截取字符 cat /dev/urandom |head -n 1 |md5sum | head -c 32 读取随机存储设备然后取出第一行的数据进行md5计算,最后取计算结果的前32位