nodejs-cipher-performance
Benchmarks for nodejs crypto.getCiphers()
or just a wrapper for cipher function
Installation
Install through NPM
npm install nodejs-cipher-performance
or
git clone git://github.com/hex7c0/nodejs-cipher-performance.git
API
inside nodejs project
var cipher = ; ;
nodejs-cipher-performance(raw, cipher, password, encoding)
options
raw
- String | Buffer Your Data (default "required")cipher
- String Type of Hash (default "required")password
- String | Buffer Your Password (default "required")encoding
- String Type of Encoding (default "required")
License GPLv3
Benchmark
$ npm run-script test > node benchmark/index.js > node benchmark/body-100.js 100 body buffer-base64-CAST-cbc x 31,656 ops/sec ±4.41% buffer-base64-aes-128-cbc x 27,695 ops/sec ±4.67% buffer-base64-aes-128-cbc-hmac-sha1 x 25,892 ops/sec ±5.39% buffer-base64-aes-128-cfb x 36,025 ops/sec ±4.72% buffer-base64-aes-128-cfb1 x 10,879 ops/sec ±1.98% buffer-base64-aes-128-cfb8 x 27,727 ops/sec ±4.20% buffer-base64-aes-128-ctr x 38,321 ops/sec ±4.15% buffer-base64-aes-128-ecb x 36,750 ops/sec ±4.54% buffer-base64-aes-128-gcm x 35,114 ops/sec ±4.38% buffer-base64-aes-128-ofb x 37,928 ops/sec ±3.74% buffer-base64-aes-128-xts x 39,193 ops/sec ±4.10% buffer-base64-aes-192-cbc x 38,308 ops/sec ±4.17% buffer-base64-aes-192-cfb x 33,754 ops/sec ±4.42% buffer-base64-aes-192-cfb1 x 9,477 ops/sec ±2.84% buffer-base64-aes-192-cfb8 x 31,243 ops/sec ±3.77% buffer-base64-aes-192-ctr x 35,400 ops/sec ±4.47% buffer-base64-aes-192-ecb x 33,900 ops/sec ±4.46% buffer-base64-aes-192-gcm x 36,673 ops/sec ±4.11% buffer-base64-aes-192-ofb x 38,558 ops/sec ±3.58% buffer-base64-aes-256-cbc x 34,177 ops/sec ±4.61% buffer-base64-aes-256-cbc-hmac-sha1 x 32,281 ops/sec ±4.73% buffer-base64-aes-256-cfb x 39,603 ops/sec ±3.70% buffer-base64-aes-256-cfb1 x 8,861 ops/sec ±2.23% buffer-base64-aes-256-cfb8 x 27,121 ops/sec ±3.94% buffer-base64-aes-256-ctr x 36,730 ops/sec ±4.09% buffer-base64-aes-256-ecb x 37,818 ops/sec ±3.82% buffer-base64-aes-256-gcm x 32,272 ops/sec ±4.97% buffer-base64-aes-256-ofb x 36,415 ops/sec ±4.24% buffer-base64-aes-256-xts x 37,503 ops/sec ±4.06% buffer-base64-aes128 x 35,227 ops/sec ±4.54% buffer-base64-aes192 x 36,023 ops/sec ±3.69% buffer-base64-aes256 x 35,326 ops/sec ±3.95% buffer-base64-bf x 11,884 ops/sec ±2.08% buffer-base64-bf-cbc x 11,866 ops/sec ±1.99% buffer-base64-bf-cfb x 11,506 ops/sec ±2.24% buffer-base64-bf-ecb x 11,151 ops/sec ±2.58% buffer-base64-bf-ofb x 11,893 ops/sec ±2.35% buffer-base64-blowfish x 11,733 ops/sec ±2.08% buffer-base64-camellia-128-cbc x 35,415 ops/sec ±3.89% buffer-base64-camellia-128-cfb x 37,982 ops/sec ±3.58% buffer-base64-camellia-128-cfb1 x 5,618 ops/sec ±1.35% buffer-base64-camellia-128-cfb8 x 21,824 ops/sec ±3.50% buffer-base64-camellia-128-ecb x 34,468 ops/sec ±5.04% buffer-base64-camellia-128-ofb x 36,251 ops/sec ±3.63% buffer-base64-camellia-192-cbc x 35,605 ops/sec ±3.64% buffer-base64-camellia-192-cfb x 35,770 ops/sec ±4.49% buffer-base64-camellia-192-cfb1 x 4,653 ops/sec ±1.59% buffer-base64-camellia-192-cfb8 x 20,450 ops/sec ±3.47% buffer-base64-camellia-192-ecb x 32,765 ops/sec ±4.35% buffer-base64-camellia-192-ofb x 32,151 ops/sec ±4.88% buffer-base64-camellia-256-cbc x 34,772 ops/sec ±3.77% buffer-base64-camellia-256-cfb x 36,238 ops/sec ±4.07% buffer-base64-camellia-256-cfb1 x 4,412 ops/sec ±2.00% buffer-base64-camellia-256-cfb8 x 20,809 ops/sec ±3.08% buffer-base64-camellia-256-ecb x 35,285 ops/sec ±3.74% buffer-base64-camellia-256-ofb x 35,609 ops/sec ±3.85% buffer-base64-camellia128 x 34,226 ops/sec ±4.04% buffer-base64-camellia192 x 35,120 ops/sec ±3.48% buffer-base64-camellia256 x 36,341 ops/sec ±3.43% buffer-base64-cast x 35,407 ops/sec ±3.80% buffer-base64-cast-cbc x 35,438 ops/sec ±3.60% buffer-base64-cast5-cbc x 35,637 ops/sec ±3.46% buffer-base64-cast5-cfb x 34,128 ops/sec ±3.92% buffer-base64-cast5-ecb x 32,005 ops/sec ±4.21% buffer-base64-cast5-ofb x 33,989 ops/sec ±4.17% buffer-base64-des x 34,203 ops/sec ±3.71% buffer-base64-des-cbc x 34,954 ops/sec ±3.61% buffer-base64-des-cfb x 33,045 ops/sec ±4.42% buffer-base64-des-cfb1 x 4,789 ops/sec ±1.51% buffer-base64-des-cfb8 x 21,219 ops/sec ±3.33% buffer-base64-des-ecb x 34,543 ops/sec ±3.57% buffer-base64-des-ede x 28,646 ops/sec ±3.78% buffer-base64-des-ede-cbc x 29,158 ops/sec ±3.23% buffer-base64-des-ede-cfb x 28,894 ops/sec ±4.02% buffer-base64-des-ede-ofb x 30,642 ops/sec ±3.52% buffer-base64-des-ede3 x 29,730 ops/sec ±3.59% buffer-base64-des-ede3-cbc x 29,441 ops/sec ±3.34% buffer-base64-des-ede3-cfb x 29,998 ops/sec ±3.52% buffer-base64-des-ede3-cfb1 x 12,339 ops/sec ±2.65% buffer-base64-des-ede3-cfb8 x 12,902 ops/sec ±2.21% buffer-base64-des-ede3-ofb x 29,803 ops/sec ±3.57% buffer-base64-des-ofb x 36,049 ops/sec ±3.95% buffer-base64-des3 x 29,008 ops/sec ±3.76% buffer-base64-desx x 32,590 ops/sec ±3.90% buffer-base64-desx-cbc x 33,261 ops/sec ±3.67% buffer-base64-id-aes128-GCM x 35,488 ops/sec ±4.10% buffer-base64-id-aes192-GCM x 35,510 ops/sec ±4.06% buffer-base64-id-aes256-GCM x 37,388 ops/sec ±3.61% buffer-base64-idea x 35,463 ops/sec ±3.42% buffer-base64-idea-cbc x 33,311 ops/sec ±4.33% buffer-base64-idea-cfb x 36,795 ops/sec ±3.62% buffer-base64-idea-ecb x 36,053 ops/sec ±3.76% buffer-base64-idea-ofb x 34,452 ops/sec ±3.79% buffer-base64-rc2 x 30,078 ops/sec ±4.09% buffer-base64-rc2-40-cbc x 29,425 ops/sec ±3.69% buffer-base64-rc2-64-cbc x 29,908 ops/sec ±3.84% buffer-base64-rc2-cbc x 30,959 ops/sec ±3.69% buffer-base64-rc2-cfb x 31,170 ops/sec ±3.81% buffer-base64-rc2-ecb x 31,125 ops/sec ±4.02% buffer-base64-rc2-ofb x 28,366 ops/sec ±5.24% buffer-base64-rc4 x 30,790 ops/sec ±5.25% buffer-base64-rc4-40 x 31,383 ops/sec ±6.26% buffer-base64-rc4-hmac-md5 x 39,767 ops/sec ±3.23% buffer-base64-seed x 35,134 ops/sec ±3.18% buffer-base64-seed-cbc x 29,094 ops/sec ±4.48% buffer-base64-seed-cfb x 32,984 ops/sec ±4.22% buffer-base64-seed-ecb x 33,803 ops/sec ±3.71% buffer-base64-seed-ofb x 33,591 ops/sec ±4.12% Fastest is: buffer-base64-rc4-hmac-md5, buffer-base64-aes-192-ofb, buffer-base64-aes-128-ctr, buffer-base64-aes-128-ofb > node benchmark/body-1000.js 1000 body buffer-base64-CAST-cbc x 19,685 ops/sec ±2.29% buffer-base64-aes-128-cbc x 28,793 ops/sec ±2.90% buffer-base64-aes-128-cbc-hmac-sha1 x 28,255 ops/sec ±2.45% buffer-base64-aes-128-cfb x 30,009 ops/sec ±2.59% buffer-base64-aes-128-cfb1 x 1,407 ops/sec ±1.06% buffer-base64-aes-128-cfb8 x 11,500 ops/sec ±1.67% buffer-base64-aes-128-ctr x 33,966 ops/sec ±2.64% buffer-base64-aes-128-ecb x 32,175 ops/sec ±2.70% buffer-base64-aes-128-gcm x 32,838 ops/sec ±2.38% buffer-base64-aes-128-ofb x 29,872 ops/sec ±2.52% buffer-base64-aes-128-xts x 31,620 ops/sec ±2.87% buffer-base64-aes-192-cbc x 29,875 ops/sec ±2.23% buffer-base64-aes-192-cfb x 29,533 ops/sec ±2.72% buffer-base64-aes-192-cfb1 x 1,223 ops/sec ±1.27% buffer-base64-aes-192-cfb8 x 10,197 ops/sec ±1.81% buffer-base64-aes-192-ctr x 32,674 ops/sec ±2.69% buffer-base64-aes-192-ecb x 29,578 ops/sec ±3.09% buffer-base64-aes-192-gcm x 30,366 ops/sec ±3.05% buffer-base64-aes-192-ofb x 30,549 ops/sec ±2.73% buffer-base64-aes-256-cbc x 26,173 ops/sec ±2.49% buffer-base64-aes-256-cbc-hmac-sha1 x 25,116 ops/sec ±2.96% buffer-base64-aes-256-cfb x 26,501 ops/sec ±2.79% buffer-base64-aes-256-cfb1 x 1,118 ops/sec ±1.50% buffer-base64-aes-256-cfb8 x 8,813 ops/sec ±1.96% buffer-base64-aes-256-ctr x 27,771 ops/sec ±3.54% buffer-base64-aes-256-ecb x 28,240 ops/sec ±3.35% buffer-base64-aes-256-gcm x 28,914 ops/sec ±2.97% buffer-base64-aes-256-ofb x 27,210 ops/sec ±3.25% buffer-base64-aes-256-xts x 29,367 ops/sec ±3.16% buffer-base64-aes128 x 26,730 ops/sec ±2.95% buffer-base64-aes192 x 27,577 ops/sec ±2.79% buffer-base64-aes256 x 27,226 ops/sec ±2.49% buffer-base64-bf x 9,331 ops/sec ±1.92% buffer-base64-bf-cbc x 9,679 ops/sec ±1.58% buffer-base64-bf-cfb x 9,842 ops/sec ±1.27% buffer-base64-bf-ecb x 9,820 ops/sec ±1.40% buffer-base64-bf-ofb x 9,673 ops/sec ±1.86% buffer-base64-blowfish x 9,623 ops/sec ±1.66% buffer-base64-camellia-128-cbc x 24,217 ops/sec ±2.28% buffer-base64-camellia-128-cfb x 24,831 ops/sec ±2.51% buffer-base64-camellia-128-cfb1 x 617 ops/sec ±1.50% buffer-base64-camellia-128-cfb8 x 4,497 ops/sec ±2.04% buffer-base64-camellia-128-ecb x 18,594 ops/sec ±3.90% buffer-base64-camellia-128-ofb x 23,199 ops/sec ±3.41% buffer-base64-camellia-192-cbc x 21,068 ops/sec ±2.68% buffer-base64-camellia-192-cfb x 21,519 ops/sec ±2.88% buffer-base64-camellia-192-cfb1 x 497 ops/sec ±1.31% buffer-base64-camellia-192-cfb8 x 4,105 ops/sec ±1.28% buffer-base64-camellia-192-ecb x 18,945 ops/sec ±2.76% buffer-base64-camellia-192-ofb x 20,016 ops/sec ±3.16% buffer-base64-camellia-256-cbc x 18,492 ops/sec ±2.69% buffer-base64-camellia-256-cfb x 18,069 ops/sec ±3.84% buffer-base64-camellia-256-cfb1 x 469 ops/sec ±1.51% buffer-base64-camellia-256-cfb8 x 3,728 ops/sec ±1.47% buffer-base64-camellia-256-ecb x 17,943 ops/sec ±2.89% buffer-base64-camellia-256-ofb x 21,609 ops/sec ±2.78% buffer-base64-camellia128 x 23,799 ops/sec ±2.16% buffer-base64-camellia192 x 21,048 ops/sec ±2.77% buffer-base64-camellia256 x 22,170 ops/sec ±2.13% buffer-base64-cast x 18,218 ops/sec ±3.39% buffer-base64-cast-cbc x 17,437 ops/sec ±2.99% buffer-base64-cast5-cbc x 16,881 ops/sec ±3.39% buffer-base64-cast5-cfb x 18,583 ops/sec ±2.48% buffer-base64-cast5-ecb x 19,701 ops/sec ±2.37% buffer-base64-cast5-ofb x 20,871 ops/sec ±2.56% buffer-base64-des x 17,389 ops/sec ±2.14% buffer-base64-des-cbc x 17,593 ops/sec ±2.19% buffer-base64-des-cfb x 17,207 ops/sec ±1.94% buffer-base64-des-cfb1 x 564 ops/sec ±0.51% buffer-base64-des-cfb8 x 4,446 ops/sec ±1.00% buffer-base64-des-ecb x 16,978 ops/sec ±2.22% buffer-base64-des-ede x 10,011 ops/sec ±2.02% buffer-base64-des-ede-cbc x 10,459 ops/sec ±1.52% buffer-base64-des-ede-cfb x 10,483 ops/sec ±2.05% buffer-base64-des-ede-ofb x 10,499 ops/sec ±1.80% buffer-base64-des-ede3 x 9,981 ops/sec ±1.69% buffer-base64-des-ede3-cbc x 10,346 ops/sec ±2.05% buffer-base64-des-ede3-cfb x 10,678 ops/sec ±1.83% buffer-base64-des-ede3-cfb1 x 1,768 ops/sec ±0.98% buffer-base64-des-ede3-cfb8 x 1,847 ops/sec ±0.88% buffer-base64-des-ede3-ofb x 10,925 ops/sec ±1.51% buffer-base64-des-ofb x 18,288 ops/sec ±2.34% buffer-base64-des3 x 10,037 ops/sec ±1.87% buffer-base64-desx x 16,087 ops/sec ±2.68% buffer-base64-desx-cbc x 16,717 ops/sec ±2.34% buffer-base64-id-aes128-GCM x 27,787 ops/sec ±3.52% buffer-base64-id-aes192-GCM x 29,109 ops/sec ±2.96% buffer-base64-id-aes256-GCM x 28,922 ops/sec ±3.44% buffer-base64-idea x 17,568 ops/sec ±2.44% buffer-base64-idea-cbc x 19,020 ops/sec ±1.92% buffer-base64-idea-cfb x 19,074 ops/sec ±1.92% buffer-base64-idea-ecb x 19,361 ops/sec ±1.84% buffer-base64-idea-ofb x 19,300 ops/sec ±1.94% buffer-base64-rc2 x 11,594 ops/sec ±2.92% buffer-base64-rc2-40-cbc x 10,896 ops/sec ±2.63% buffer-base64-rc2-64-cbc x 12,155 ops/sec ±2.05% buffer-base64-rc2-cbc x 11,708 ops/sec ±2.43% buffer-base64-rc2-cfb x 12,682 ops/sec ±2.12% buffer-base64-rc2-ecb x 12,927 ops/sec ±1.74% buffer-base64-rc2-ofb x 15,480 ops/sec ±1.65% buffer-base64-rc4 x 30,868 ops/sec ±2.68% buffer-base64-rc4-40 x 32,422 ops/sec ±2.03% buffer-base64-rc4-hmac-md5 x 29,667 ops/sec ±2.28% buffer-base64-seed x 18,077 ops/sec ±2.09% buffer-base64-seed-cbc x 17,161 ops/sec ±2.28% buffer-base64-seed-cfb x 18,120 ops/sec ±2.81% buffer-base64-seed-ecb x 16,810 ops/sec ±2.10% buffer-base64-seed-ofb x 18,203 ops/sec ±2.35% Fastest is: buffer-base64-aes-128-ctr > node benchmark/body-10000.js 10000 body buffer-base64-CAST-cbc x 4,434 ops/sec ±0.93% buffer-base64-aes-128-cbc x 11,491 ops/sec ±1.02% buffer-base64-aes-128-cbc-hmac-sha1 x 10,694 ops/sec ±1.58% buffer-base64-aes-128-cfb x 10,234 ops/sec ±2.79% buffer-base64-aes-128-cfb1 x 153 ops/sec ±0.89% buffer-base64-aes-128-cfb8 x 1,568 ops/sec ±1.07% buffer-base64-aes-128-ctr x 17,760 ops/sec ±0.89% buffer-base64-aes-128-ecb x 16,029 ops/sec ±1.13% buffer-base64-aes-128-gcm x 15,190 ops/sec ±0.66% buffer-base64-aes-128-ofb x 12,386 ops/sec ±1.16% buffer-base64-aes-128-xts x 17,290 ops/sec ±0.90% buffer-base64-aes-192-cbc x 11,101 ops/sec ±1.74% buffer-base64-aes-192-cfb x 10,460 ops/sec ±1.60% buffer-base64-aes-192-cfb1 x 129 ops/sec ±1.12% buffer-base64-aes-192-cfb8 x 1,363 ops/sec ±0.83% buffer-base64-aes-192-ctr x 16,381 ops/sec ±1.61% buffer-base64-aes-192-ecb x 15,521 ops/sec ±1.41% buffer-base64-aes-192-gcm x 14,805 ops/sec ±0.90% buffer-base64-aes-192-ofb x 11,796 ops/sec ±1.00% buffer-base64-aes-256-cbc x 11,112 ops/sec ±1.22% buffer-base64-aes-256-cbc-hmac-sha1 x 10,544 ops/sec ±1.21% buffer-base64-aes-256-cfb x 10,700 ops/sec ±1.28% buffer-base64-aes-256-cfb1 x 128 ops/sec ±0.93% buffer-base64-aes-256-cfb8 x 1,287 ops/sec ±0.69% buffer-base64-aes-256-ctr x 16,989 ops/sec ±0.89% buffer-base64-aes-256-ecb x 16,213 ops/sec ±1.10% buffer-base64-aes-256-gcm x 14,655 ops/sec ±1.39% buffer-base64-aes-256-ofb x 11,205 ops/sec ±0.75% buffer-base64-aes-256-xts x 16,808 ops/sec ±1.03% buffer-base64-aes128 x 11,521 ops/sec ±1.77% buffer-base64-aes192 x 10,858 ops/sec ±1.43% buffer-base64-aes256 x 10,819 ops/sec ±1.05% buffer-base64-bf x 3,867 ops/sec ±0.81% buffer-base64-bf-cbc x 3,864 ops/sec ±1.43% buffer-base64-bf-cfb x 3,455 ops/sec ±1.09% buffer-base64-bf-ecb x 3,893 ops/sec ±1.19% buffer-base64-bf-ofb x 3,983 ops/sec ±0.78% buffer-base64-blowfish x 4,047 ops/sec ±0.83% buffer-base64-camellia-128-cbc x 6,950 ops/sec ±0.89% buffer-base64-camellia-128-cfb x 6,507 ops/sec ±1.95% buffer-base64-camellia-128-cfb1 x 66.60 ops/sec ±1.49% buffer-base64-camellia-128-cfb8 x 637 ops/sec ±0.68% buffer-base64-camellia-128-ecb x 6,903 ops/sec ±1.07% buffer-base64-camellia-128-ofb x 7,083 ops/sec ±0.90% buffer-base64-camellia-192-cbc x 5,603 ops/sec ±1.29% buffer-base64-camellia-192-cfb x 5,287 ops/sec ±2.40% buffer-base64-camellia-192-cfb1 x 53.22 ops/sec ±0.93% buffer-base64-camellia-192-cfb8 x 485 ops/sec ±0.72% buffer-base64-camellia-192-ecb x 5,403 ops/sec ±2.21% buffer-base64-camellia-192-ofb x 5,734 ops/sec ±1.03% buffer-base64-camellia-256-cbc x 5,790 ops/sec ±1.07% buffer-base64-camellia-256-cfb x 5,620 ops/sec ±1.04% buffer-base64-camellia-256-cfb1 x 55.21 ops/sec ±1.04% buffer-base64-camellia-256-cfb8 x 501 ops/sec ±0.80% buffer-base64-camellia-256-ecb x 5,796 ops/sec ±0.96% buffer-base64-camellia-256-ofb x 5,981 ops/sec ±1.08% buffer-base64-camellia128 x 7,050 ops/sec ±1.44% buffer-base64-camellia192 x 5,847 ops/sec ±1.05% buffer-base64-camellia256 x 5,952 ops/sec ±0.83% buffer-base64-cast x 4,557 ops/sec ±0.81% buffer-base64-cast-cbc x 4,450 ops/sec ±0.74% buffer-base64-cast5-cbc x 4,446 ops/sec ±0.70% buffer-base64-cast5-cfb x 4,058 ops/sec ±0.79% buffer-base64-cast5-ecb x 4,516 ops/sec ±0.64% buffer-base64-cast5-ofb x 4,830 ops/sec ±0.66% buffer-base64-des x 3,493 ops/sec ±0.85% buffer-base64-des-cbc x 3,419 ops/sec ±0.65% buffer-base64-des-cfb x 3,200 ops/sec ±0.57% buffer-base64-des-cfb1 x 56.96 ops/sec ±0.45% buffer-base64-des-cfb8 x 495 ops/sec ±0.49% buffer-base64-des-ecb x 3,448 ops/sec ±0.68% buffer-base64-des-ede x 1,533 ops/sec ±0.85% buffer-base64-des-ede-cbc x 1,532 ops/sec ±0.49% buffer-base64-des-ede-cfb x 1,478 ops/sec ±0.54% buffer-base64-des-ede-ofb x 1,518 ops/sec ±0.47% buffer-base64-des-ede3 x 1,479 ops/sec ±1.50% buffer-base64-des-ede3-cbc x 1,488 ops/sec ±1.34% buffer-base64-des-ede3-cfb x 1,433 ops/sec ±1.22% buffer-base64-des-ede3-cfb1 x 184 ops/sec ±0.78% buffer-base64-des-ede3-cfb8 x 195 ops/sec ±0.40% buffer-base64-des-ede3-ofb x 1,474 ops/sec ±0.96% buffer-base64-des-ofb x 3,381 ops/sec ±1.18% buffer-base64-des3 x 1,463 ops/sec ±1.28% buffer-base64-desx x 3,200 ops/sec ±1.30% buffer-base64-desx-cbc x 3,255 ops/sec ±0.68% buffer-base64-id-aes128-GCM x 14,061 ops/sec ±1.39% buffer-base64-id-aes192-GCM x 13,780 ops/sec ±1.69% buffer-base64-id-aes256-GCM x 13,342 ops/sec ±1.54% buffer-base64-idea x 3,741 ops/sec ±0.69% buffer-base64-idea-cbc x 3,737 ops/sec ±0.77% buffer-base64-idea-cfb x 3,251 ops/sec ±1.02% buffer-base64-idea-ecb x 3,444 ops/sec ±1.23% buffer-base64-idea-ofb x 3,499 ops/sec ±1.07% buffer-base64-rc2 x 1,858 ops/sec ±0.65% buffer-base64-rc2-40-cbc x 1,828 ops/sec ±1.09% buffer-base64-rc2-64-cbc x 1,843 ops/sec ±1.34% buffer-base64-rc2-cbc x 1,838 ops/sec ±0.71% buffer-base64-rc2-cfb x 1,858 ops/sec ±0.55% buffer-base64-rc2-ecb x 1,955 ops/sec ±0.57% buffer-base64-rc2-ofb x 2,477 ops/sec ±0.86% buffer-base64-rc4 x 13,403 ops/sec ±1.24% buffer-base64-rc4-40 x 13,086 ops/sec ±1.07% buffer-base64-rc4-hmac-md5 x 11,419 ops/sec ±0.89% buffer-base64-seed x 3,336 ops/sec ±0.74% buffer-base64-seed-cbc x 3,341 ops/sec ±1.15% buffer-base64-seed-cfb x 3,474 ops/sec ±0.69% buffer-base64-seed-ecb x 3,638 ops/sec ±0.95% buffer-base64-seed-ofb x 3,696 ops/sec ±0.88% Fastest is: buffer-base64-aes-128-ctr