A small hash benchmark written by go.
2018 15' MacBook Pro (i7-8750H)
md5 用时: 2.173 s
sha1 用时: 1.481 s
sha224 用时: 3.851 s
sha256 用时: 3.985 s
sha384 用时: 2.606 s
sha512 用时: 2.792 s
md5 用时: 2.108 s
sha1 用时: 1.670 s
sha224 用时: 3.841 s
sha256 用时: 3.839 s
sha384 用时: 2.569 s
sha512 用时: 2.537 s
Red Mi 6X (sdm660)
md5 用时: 4.377 s
sha1 用时: 1.666 s
sha224 用时: 1.578 s
sha256 用时: 1.578 s
sha384 用时: 18.285 s
sha512 用时: 18.303 s
md5 用时: 4.311 s
sha1 用时: 1.665 s
sha224 用时: 1.577 s
sha256 用时: 1.577 s
sha384 用时: 18.289 s
sha512 用时: 18.286 s
极路由1s (mt7620)
md5 用时: 59.468 s
sha1 用时: 316.601 s
sha224 用时: 537.150 s
sha256 用时: 530.069 s
sha384 用时: 623.201 s
sha512 用时: 621.145 s
md5 用时: 57.835 s
(时间有限,未测完)