o0w0o / ARTS

ARTS 鸽友打卡🐦
2 stars 0 forks source link

openssl rand 产生随机数 #100

Open hyponet opened 5 years ago

hyponet commented 5 years ago

openssl rand 用于产生指定长度个bytes的随机字符。

$ openssl rand 5
���=%

$ openssl rand -hex 5
6b6c8acf05

$ openssl rand -base64 5
ecGfKZk=