摘要:
A tale of two elliptic curves Posted on 21 August 2018 by John A few days ago I blogged about the elliptic curve secp256k1 and its use in Bitcoin. Thi 阅读全文
摘要:
https://wenku.baidu.com/view/93afe41910a6f524ccbf8542.html https://blog.csdn.net/hahasusu/article/details/88244155 阅读全文
摘要:
// Package subtle implements functions that are often useful in cryptographic// code but require careful thought to use correctly.package subtle// Con 阅读全文
摘要:
static inline uint32_t rotl(uint32_t a, uint8_t n){ return (a << n) | (a >> (32 - n));}static inline uint32_t rotr(uint32_t a, uint8_t n){ return (a > 阅读全文
摘要:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 0 3 2 5 4 7 6 9 8 11 10 13 12 15 14 2 3 0 1 6 7 4 5 10 11 8 9 14 15 12 13 3 2 1 0 7 6 5 4 11 10 9 8 15 14 13 1 阅读全文
摘要:
TLS1.3和TLS1.2的区别1、密钥协商机制改变,TLS1.3借助扩展进行密钥交换,TLS1.3只需要三次握手交互,TLS1.2则需要四次握手。首先看TLS1.2,它通过KeyExchange进行密钥协商,即ServerKeyExchange和ClientKeyExchange,那么密钥交换本身 阅读全文
摘要:
Go versus C++ g++ fastest programs vs C# .NET Core vs C++ vs Java vs Python vs Rust Always look at the source code. These are only the fastest program 阅读全文
摘要:
向上取整, 运算称为 Ceiling,用数学符号 ⌈⌉ (上有起止,开口向下)表示,。向下取整, 运算称为 Floor,用数学符号 ⌊⌋ (下有起止,开口向上)表示。注意,向上取整和向下取整是针对有浮点数而言的; 若整数向上取整和向下取整, 都是整数本身。 四舍五入:更接近自己的整数; 把小数点后面 阅读全文