I hereby claim:
- I am coelacanthushex on github.
- I am coelacanthus (https://keybase.io/coelacanthus) on keybase.
- I have a public key ASDsWJRETyyxnuZCN_eZZ2rDmoS_bAd9RpWbdaOTkmoVTwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Dockerfile to build aria2 Windows binary using ubuntu mingw-w64 | |
# cross compiler chain. | |
# | |
# $ sudo docker build -t aria2-mingw - < Dockerfile.mingw | |
# | |
# After successful build, windows binary is located at | |
# /aria2/src/aria2c.exe. You can copy the binary using following | |
# commands: | |
# | |
# $ id=$(sudo docker create aria2-mingw) |
Putting cryptographic primitives together is a lot like putting a jigsaw puzzle together, where all the pieces are cut exactly the same way, but there is only one correct solution. Thankfully, there are some projects out there that are working hard to make sure developers are getting it right.
The following advice comes from years of research from leading security researchers, developers, and cryptographers. This Gist was [forked from Thomas Ptacek's Gist][1] to be more readable. Additions have been added from
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
*://*.005382a.com/* | |
*://[.0123456789][.0123456789]*.[abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyz]*/* | |
*://*.[0123456789][0123456789]*.com/* | |
*://[0123456789][0123456789]*.com/* | |
*://[^a-z0-9](((([0-9]|syscan|400[0-9]{4}|os|i|luyou|)(360).*)|(qi(yuns3|xintongda|koo|hucdn|du|aoqiao|hoo(yun)?))|(sou?)|(qh(img|cdn|cdn|setup|msg|static|update))|(yun(id|pan))|(51(ast|hutong|assist)|secmp|msecret|201[0-9]pan|hackpwn|koux[iu]n|55dns|mgamer))\.(cn|com|net|中国)|((soulworker|cnao\.net|nelab-bdst\.org|urlqh|defcongroup|defcongroups|secmp\.org|idctj|vcloudglb|vcloudgtm|ixiangpai|xiuxiuge|whoisdb|passive-dns|passivedns|yongxinwan|leidian|gongxiangqun|mobile-it|airwatch\.com|adviva(\.com)?|mediav(iva)?\.com|cloudid(\.com)?|msecret\.com|mcleaner(\.com)?|mcleaner|mytoken(\.com)?|biji)\.cn))/* | |
*://*.01dm.cn.com/* | |
*://*.027xdl.com/* | |
*://*.0371cc.com/* | |
*://*.04dy.cn.com/* | |
*://*.05878.org.cn/* |