上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 57 下一页
摘要: 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 阅读全文
posted @ 2020-07-30 10:45 zJanly 阅读(370) 评论(0) 推荐(0) 编辑
摘要: https://wenku.baidu.com/view/93afe41910a6f524ccbf8542.html https://blog.csdn.net/hahasusu/article/details/88244155 阅读全文
posted @ 2020-07-23 14:58 zJanly 阅读(191) 评论(1) 推荐(0) 编辑
摘要: // Package subtle implements functions that are often useful in cryptographic// code but require careful thought to use correctly.package subtle// Con 阅读全文
posted @ 2020-07-22 17:19 zJanly 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 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 > 阅读全文
posted @ 2020-07-22 13:50 zJanly 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-07-21 16:33 zJanly 阅读(126) 评论(0) 推荐(0) 编辑
摘要: TLS1.3和TLS1.2的区别1、密钥协商机制改变,TLS1.3借助扩展进行密钥交换,TLS1.3只需要三次握手交互,TLS1.2则需要四次握手。首先看TLS1.2,它通过KeyExchange进行密钥协商,即ServerKeyExchange和ClientKeyExchange,那么密钥交换本身 阅读全文
posted @ 2020-07-17 16:12 zJanly 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-07-17 15:15 zJanly 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 向上取整, 运算称为 Ceiling,用数学符号 ⌈⌉ (上有起止,开口向下)表示,。向下取整, 运算称为 Floor,用数学符号 ⌊⌋ (下有起止,开口向上)表示。注意,向上取整和向下取整是针对有浮点数而言的; 若整数向上取整和向下取整, 都是整数本身。 四舍五入:更接近自己的整数; 把小数点后面 阅读全文
posted @ 2020-07-17 14:03 zJanly 阅读(17471) 评论(0) 推荐(0) 编辑
摘要: https://github.com/golang/crypto golang.org/x/crypto/ 阅读全文
posted @ 2020-07-16 17:17 zJanly 阅读(669) 评论(0) 推荐(0) 编辑
摘要: https://github.com/tjfoc/gmsm package mainimport ( "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "fmt" "github.com/tjfoc/gmsm/sm2" "math/big" "time") 阅读全文
posted @ 2020-07-16 15:56 zJanly 阅读(253) 评论(0) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 57 下一页