【发布时间】:2016-07-12 14:16:44
【问题描述】:
我正在 Elixir 上使用 openssl 命令行生成一个 RSA 密钥对,一切正常,除了我无法抑制该命令的输出。
这就是我正在运行的:
{_, 0} = System.cmd "openssl", [ "genrsa", "-out", "privateKey.pem", "2048"]
我不断得到:
Generating RSA private key, 2048 bit long modulus .....+++
.....................................+++ e is 65537 (0x10001)
在我用 escript 编译并运行可执行文件之后。
【问题讨论】:
标签: elixir