The benchmark generates a large random(-ish) string ~97MB's and a smaller string, and runs each node crypto hashing method with each supported encoding format as a test in the suite. It also runs XXHash methods with the same string and various encoding formats as well.
116 tests completed.
crypto-md4-ascii 97.6572265625MB x 5,869 ops/sec ±1.00% (90 runs sampled)
crypto-md4-ascii 0.0986328125MB x 432,210 ops/sec ±7.83% (63 runs sampled)
crypto-md4-utf8 97.6572265625MB x 5,497 ops/sec ±1.21% (86 runs sampled)
crypto-md4-utf8 0.0986328125MB x 406,748 ops/sec ±8.37% (62 runs sampled)
crypto-md4-base64 97.6572265625MB x 5,576 ops/sec ±1.60% (84 runs sampled)
crypto-md4-base64 0.0986328125MB x 393,881 ops/sec ±13.88% (61 runs sampled)
crypto-md4-latin1 97.6572265625MB x 5,569 ops/sec ±1.54% (81 runs sampled)
crypto-md4-latin1 0.0986328125MB x 432,399 ops/sec ±13.79% (61 runs sampled)
crypto-md4-binary 97.6572265625MB x 5,651 ops/sec ±1.30% (88 runs sampled)
crypto-md4-binary 0.0986328125MB x 437,956 ops/sec ±14.20% (62 runs sampled)
crypto-md4-hex 97.6572265625MB x 5,449 ops/sec ±0.88% (87 runs sampled)
crypto-md4-hex 0.0986328125MB x 380,399 ops/sec ±13.02% (64 runs sampled)
crypto-md5-ascii 97.6572265625MB x 5,132 ops/sec ±1.10% (90 runs sampled)
crypto-md5-ascii 0.0986328125MB x 409,959 ops/sec ±13.71% (63 runs sampled)
crypto-md5-utf8 97.6572265625MB x 5,022 ops/sec ±1.08% (88 runs sampled)
crypto-md5-utf8 0.0986328125MB x 407,994 ops/sec ±13.21% (62 runs sampled)
crypto-md5-base64 97.6572265625MB x 5,034 ops/sec ±1.31% (88 runs sampled)
crypto-md5-base64 0.0986328125MB x 400,548 ops/sec ±13.24% (63 runs sampled)
crypto-md5-latin1 97.6572265625MB x 5,082 ops/sec ±1.38% (85 runs sampled)
crypto-md5-latin1 0.0986328125MB x 439,974 ops/sec ±13.55% (63 runs sampled)
crypto-md5-binary 97.6572265625MB x 5,147 ops/sec ±1.58% (88 runs sampled)
crypto-md5-binary 0.0986328125MB x 446,293 ops/sec ±13.66% (64 runs sampled)
crypto-md5-hex 97.6572265625MB x 4,998 ops/sec ±1.47% (85 runs sampled)
crypto-md5-hex 0.0986328125MB x 389,102 ops/sec ±13.14% (63 runs sampled)
crypto-mdc2-ascii 97.6572265625MB x 196 ops/sec ±1.25% (82 runs sampled)
crypto-mdc2-ascii 0.0986328125MB x 137,596 ops/sec ±7.14% (81 runs sampled)
crypto-mdc2-utf8 97.6572265625MB x 200 ops/sec ±1.29% (84 runs sampled)
crypto-mdc2-utf8 0.0986328125MB x 137,999 ops/sec ±6.44% (81 runs sampled)
crypto-mdc2-base64 97.6572265625MB x 193 ops/sec ±1.43% (80 runs sampled)
crypto-mdc2-base64 0.0986328125MB x 136,064 ops/sec ±5.58% (79 runs sampled)
crypto-mdc2-latin1 97.6572265625MB x 195 ops/sec ±1.20% (82 runs sampled)
crypto-mdc2-latin1 0.0986328125MB x 134,994 ops/sec ±7.44% (78 runs sampled)
crypto-mdc2-binary 97.6572265625MB x 196 ops/sec ±2.07% (82 runs sampled)
crypto-mdc2-binary 0.0986328125MB x 131,085 ops/sec ±8.12% (79 runs sampled)
crypto-mdc2-hex 97.6572265625MB x 185 ops/sec ±1.44% (78 runs sampled)
crypto-mdc2-hex 0.0986328125MB x 128,548 ops/sec ±6.51% (78 runs sampled)
crypto-rmd160-ascii 97.6572265625MB x 2,745 ops/sec ±1.05% (84 runs sampled)
crypto-rmd160-ascii 0.0986328125MB x 342,578 ops/sec ±13.44% (64 runs sampled)
crypto-rmd160-utf8 97.6572265625MB x 2,738 ops/sec ±1.59% (86 runs sampled)
crypto-rmd160-utf8 0.0986328125MB x 357,904 ops/sec ±11.34% (69 runs sampled)
crypto-rmd160-base64 97.6572265625MB x 2,794 ops/sec ±1.51% (86 runs sampled)
crypto-rmd160-base64 0.0986328125MB x 349,517 ops/sec ±12.50% (66 runs sampled)
crypto-rmd160-latin1 97.6572265625MB x 2,853 ops/sec ±0.87% (87 runs sampled)
crypto-rmd160-latin1 0.0986328125MB x 366,863 ops/sec ±12.63% (66 runs sampled)
crypto-rmd160-binary 97.6572265625MB x 2,874 ops/sec ±1.13% (87 runs sampled)
crypto-rmd160-binary 0.0986328125MB x 345,423 ops/sec ±14.18% (63 runs sampled)
crypto-rmd160-hex 97.6572265625MB x 2,789 ops/sec ±2.96% (87 runs sampled)
crypto-rmd160-hex 0.0986328125MB x 353,724 ops/sec ±11.40% (70 runs sampled)
crypto-sha1-ascii 97.6572265625MB x 6,192 ops/sec ±3.77% (86 runs sampled)
crypto-sha1-ascii 0.0986328125MB x 402,152 ops/sec ±13.29% (63 runs sampled)
crypto-sha1-utf8 97.6572265625MB x 5,715 ops/sec ±4.38% (83 runs sampled)
crypto-sha1-utf8 0.0986328125MB x 406,294 ops/sec ±12.06% (64 runs sampled)
crypto-sha1-base64 97.6572265625MB x 6,397 ops/sec ±1.79% (89 runs sampled)
crypto-sha1-base64 0.0986328125MB x 400,805 ops/sec ±12.44% (61 runs sampled)
crypto-sha1-latin1 97.6572265625MB x 6,581 ops/sec ±0.95% (89 runs sampled)
crypto-sha1-latin1 0.0986328125MB x 462,122 ops/sec ±12.91% (65 runs sampled)
crypto-sha1-binary 97.6572265625MB x 6,608 ops/sec ±0.83% (90 runs sampled)
crypto-sha1-binary 0.0986328125MB x 425,688 ops/sec ±12.98% (63 runs sampled)
crypto-sha1-hex 97.6572265625MB x 6,133 ops/sec ±1.38% (87 runs sampled)
crypto-sha1-hex 0.0986328125MB x 409,450 ops/sec ±11.90% (64 runs sampled)
crypto-sha224-ascii 97.6572265625MB x 3,708 ops/sec ±1.24% (87 runs sampled)
crypto-sha224-ascii 0.0986328125MB x 368,919 ops/sec ±12.74% (65 runs sampled)
crypto-sha224-utf8 97.6572265625MB x 3,547 ops/sec ±0.91% (86 runs sampled)
crypto-sha224-utf8 0.0986328125MB x 371,195 ops/sec ±10.86% (68 runs sampled)
crypto-sha224-base64 97.6572265625MB x 3,616 ops/sec ±1.13% (85 runs sampled)
crypto-sha224-base64 0.0986328125MB x 375,152 ops/sec ±12.52% (65 runs sampled)
crypto-sha224-latin1 97.6572265625MB x 3,449 ops/sec ±3.88% (85 runs sampled)
crypto-sha224-latin1 0.0986328125MB x 415,873 ops/sec ±11.96% (65 runs sampled)
crypto-sha224-binary 97.6572265625MB x 3,595 ops/sec ±1.41% (86 runs sampled)
crypto-sha224-binary 0.0986328125MB x 381,191 ops/sec ±12.30% (64 runs sampled)
crypto-sha224-hex 97.6572265625MB x 3,527 ops/sec ±1.53% (83 runs sampled)
crypto-sha224-hex 0.0986328125MB x 364,247 ops/sec ±11.43% (61 runs sampled)
crypto-sha256-ascii 97.6572265625MB x 3,664 ops/sec ±1.13% (88 runs sampled)
crypto-sha256-ascii 0.0986328125MB x 357,175 ops/sec ±13.35% (62 runs sampled)
crypto-sha256-utf8 97.6572265625MB x 3,649 ops/sec ±2.33% (87 runs sampled)
crypto-sha256-utf8 0.0986328125MB x 378,557 ops/sec ±10.78% (67 runs sampled)
crypto-sha256-base64 97.6572265625MB x 3,381 ops/sec ±3.59% (81 runs sampled)
crypto-sha256-base64 0.0986328125MB x 380,514 ops/sec ±11.74% (64 runs sampled)
crypto-sha256-latin1 97.6572265625MB x 3,612 ops/sec ±3.33% (86 runs sampled)
crypto-sha256-latin1 0.0986328125MB x 390,228 ops/sec ±13.14% (63 runs sampled)
crypto-sha256-binary 97.6572265625MB x 3,489 ops/sec ±4.02% (82 runs sampled)
crypto-sha256-binary 0.0986328125MB x 401,851 ops/sec ±12.46% (65 runs sampled)
crypto-sha256-hex 97.6572265625MB x 3,705 ops/sec ±1.13% (90 runs sampled)
crypto-sha256-hex 0.0986328125MB x 367,077 ops/sec ±10.88% (66 runs sampled)
crypto-sha384-ascii 97.6572265625MB x 4,977 ops/sec ±1.02% (90 runs sampled)
crypto-sha384-ascii 0.0986328125MB x 400,388 ops/sec ±11.84% (68 runs sampled)
crypto-sha384-utf8 97.6572265625MB x 5,068 ops/sec ±0.92% (92 runs sampled)
crypto-sha384-utf8 0.0986328125MB x 375,418 ops/sec ±9.31% (71 runs sampled)
crypto-sha384-base64 97.6572265625MB x 4,763 ops/sec ±3.88% (87 runs sampled)
crypto-sha384-base64 0.0986328125MB x 392,791 ops/sec ±10.86% (68 runs sampled)
crypto-sha384-latin1 97.6572265625MB x 4,858 ops/sec ±1.37% (87 runs sampled)
crypto-sha384-latin1 0.0986328125MB x 381,373 ops/sec ±13.55% (61 runs sampled)
crypto-sha384-binary 97.6572265625MB x 4,703 ops/sec ±3.34% (85 runs sampled)
crypto-sha384-binary 0.0986328125MB x 409,602 ops/sec ±12.34% (64 runs sampled)
crypto-sha384-hex 97.6572265625MB x 5,009 ops/sec ±1.05% (90 runs sampled)
crypto-sha384-hex 0.0986328125MB x 361,137 ops/sec ±10.16% (64 runs sampled)
crypto-sha512-ascii 97.6572265625MB x 4,797 ops/sec ±1.58% (88 runs sampled)
crypto-sha512-ascii 0.0986328125MB x 359,128 ops/sec ±12.08% (61 runs sampled)
crypto-sha512-utf8 97.6572265625MB x 4,516 ops/sec ±3.45% (83 runs sampled)
crypto-sha512-utf8 0.0986328125MB x 342,422 ops/sec ±8.67% (70 runs sampled)
crypto-sha512-base64 97.6572265625MB x 4,892 ops/sec ±2.97% (89 runs sampled)
crypto-sha512-base64 0.0986328125MB x 377,239 ops/sec ±10.40% (65 runs sampled)
crypto-sha512-latin1 97.6572265625MB x 4,123 ops/sec ±6.34% (77 runs sampled)
crypto-sha512-latin1 0.0986328125MB x 334,425 ops/sec ±15.30% (55 runs sampled)
crypto-sha512-binary 97.6572265625MB x 4,424 ops/sec ±5.94% (81 runs sampled)
crypto-sha512-binary 0.0986328125MB x 378,151 ops/sec ±12.28% (63 runs sampled)
crypto-sha512-hex 97.6572265625MB x 4,893 ops/sec ±1.53% (91 runs sampled)
crypto-sha512-hex 0.0986328125MB x 351,804 ops/sec ±9.10% (64 runs sampled)
xxhash-buffer 97.6572265625MB x 42,855 ops/sec ±3.12% (82 runs sampled)
xxhash-buffer 0.0986328125MB x 498,514 ops/sec ±9.30% (53 runs sampled)
xxhash-hex 97.6572265625MB x 45,653 ops/sec ±1.53% (87 runs sampled)
xxhash-hex 0.0986328125MB x 1,125,398 ops/sec ±6.86% (69 runs sampled)
xxhash-base64 97.6572265625MB x 47,212 ops/sec ±1.20% (89 runs sampled)
xxhash-base64 0.0986328125MB x 1,280,717 ops/sec ±6.34% (73 runs sampled)
xxhash-binary 97.6572265625MB x 47,401 ops/sec ±1.21% (88 runs sampled)
xxhash-binary 0.0986328125MB x 1,372,796 ops/sec ±7.41% (67 runs sampled)