差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
public:it:misc [2020/12/29 10:19] – [Latency Numbers Every Programmer Should Know] oakfire | public:it:misc [2021/09/09 14:23] (当前版本) – oakfire | ||
---|---|---|---|
行 1: | 行 1: | ||
====== 杂项 ====== | ====== 杂项 ====== | ||
- | |||
- | ===== Generate RSA key ===== | ||
- | <code bash> | ||
- | # 生成 RSA 私钥(传统格式的) | ||
- | openssl genrsa -out rsa_private_key.pem 1024 | ||
- | |||
- | # 生成 RSA 公钥 | ||
- | openssl rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem | ||
- | |||
- | # 将传统格式的私钥转换成 PKCS#8 格式的 | ||
- | openssl pkcs8 -topk8 -inform PEM -in rsa_private_key.pem -outform PEM -nocrypt | ||
- | </ | ||
===== Latency Numbers Every Programmer Should Know ===== | ===== Latency Numbers Every Programmer Should Know ===== | ||
* [[https:// | * [[https:// | ||
- | Latency Comparison Numbers (~2012) | + | Latency Comparison Numbers (~2020) |
---------------------------------- | ---------------------------------- | ||
L1 cache reference | L1 cache reference |