You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
是一个开源项目,目的是
implementing the Transport Layer Security (TLS)
and Secure Sockets Layer (SSL) protocols
as well as a full-strength general purpose cryptography library.
官方排版太差,自己整理了下
https://openhome.alipay.com/platform/document.htm#webApp-intro-safe-RSA
Linux用户(以Ubuntu为例)
$ openssl 进入OpenSSL程序
OpenSSL> genrsa -out rsa_private_key.pem 1024
生成私钥
OpenSSL> rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem
生成公钥
OpenSSL> exit
#### 1. OpenSSL https://www.openssl.org/
是一个开源项目,目的是
implementing the Transport Layer Security (TLS)
and Secure Sockets Layer (SSL) protocols
as well as a full-strength general purpose cryptography library.
#### 2. genrsa --- generate an RSA private key --- 生成 RSA 私钥
https://www.openssl.org/docs/manmaster/apps/genrsa.html
-out 是输出文件名
1024 是 numbits
the size of the private key to generate in bits. This must be the last option specified. The default is 512.
#### 3. rsa --- RSA key processing tool --- RSA key 处理工具
https://www.openssl.org/docs/manmaster/apps/rsa.html
-in 是输入文件名
-out 是输出文件名
-pubout
The text was updated successfully, but these errors were encountered: