我想使用rand openssl选项生成一个私钥。
我正在使用osx,我知道urandom e random之间没有什么区别,但是我不认为这是重点
我使用该命令
openssl ecparam -genkey -name secp256k1 rand /dev/urandom -out test.pem
但我收到此消息
未知选项“ rand”
即使
-rand
openssl ecparam -genkey -name secp256k1 -rand /dev/urandom -out test.pem
未知选项“ -rand”
我尝试使用此命令检查兰特
openssl rand -base64 6
它有效。
openssl version
LibreSSL 2.6.5