Measurements of stream ciphers on one machine: amd64; Core 2 65nm (6fb); 2007 Intel Core 2 Quad Q6600; 4 x 2404MHz; margaux, supercop-20241022
[Page version: 20241120 00:41:23]
eBASC
(ECRYPT Benchmarking
of Stream Ciphers)
is a project
to measure the performance of stream ciphers.
This page presents benchmark results collected in eBASC:
- Speed (cycles/byte) of encrypting an 8-byte message.
- Speed of encrypting a 64-byte message.
- Speed of encrypting a 576-byte message.
- Speed of encrypting a 1536-byte message.
- Speed of encrypting a 4096-byte message.
- Speed of encrypting a long message.
This is computed as 1/3072 of the difference in cycle counts
between encrypting 4096-byte messages and encrypting 1024-byte messages.
Graphs show timings for all message lengths between 0 and 4096 bytes.
The stair-step shape of a typical curve on the graphs
reflects the fact that these stream ciphers handle messages in blocks,
such as 64-byte blocks.
Each table row lists
the first quartile of many speed measurements,
the median of many speed measurements,
the third quartile of many speed measurements, and
the name of the primitive.
Measurements with large variance are indicated in red with question marks.
The symbol
T:
(starting with supercop-20200816)
means that the SUPERCOP database
at the time of benchmarking did not list constant time
as a goal for this implementation.
The symbol
T!!!
means that constant time was listed as a goal for this implementation,
but that the implementation failed TIMECOP.
(TIMECOP failures are not necessarily security issues;
they can sometimes be resolved by, e.g., declaring that a rejection-sampling condition is safe to declassify.)
There is a
separate page
with more information about each stream cipher and each implementation.
Designers and implementors
interested in submitting new stream ciphers and new implementations
should read the call for submissions.
Test results
Graphs:
old
(bytes,cycles)
Cycles/byte for long messages |
25% | 50% | 75% | stream |
1.12 | 1.13 | 1.14 | tango642 |
1.70 | 1.70 | 1.70 | chacha8 |
1.96 | 1.96 | 1.97 | salsa208 |
2.27 | 2.27 | 2.27 | chacha12 |
2.40 | 2.43 | 2.44 | T:hc128 |
2.55 | 2.64 | 2.73 | T:tpy |
2.65 | 2.66 | 2.68 | salsa2012 |
2.81 | 2.82 | 2.87 | T:trivium |
2.83 | 2.97 | 3.04 | T:tpy6 |
3.36 | 3.36 | 3.36 | chacha20 |
3.37 | 3.37 | 3.37 | T:speck6496ctr |
3.44 | 3.53 | 3.60 | T:hc256 |
3.55 | 3.55 | 3.55 | T:speck64128ctr |
3.58 | 3.59 | 3.61 | T:sosemanuk |
3.80 | 3.82 | 3.93 | T:nlsv2 |
3.84 | 3.86 | 3.86 | T:cryptmtv3 |
3.99 | 3.99 | 3.99 | salsa20 |
3.99 | 4.02 | 4.02 | xsalsa20 |
4.00 | 4.02 | 4.03 | T:snow20 |
4.10 | 4.11 | 4.13 | T:panama |
4.12 | 4.24 | 4.52 | T:tpypy |
4.76 | 4.76 | 4.76 | T:speck128128ctr |
4.80 | 4.81 | 4.85 | T:rabbit |
4.85 | 4.86 | 4.86 | T:speck128192ctr |
5.00 | 5.00 | 5.00 | T:speck128256ctr |
5.79 | 5.79 | 5.79 | T:lexv2 |
6.37 | 6.39 | 6.41 | T:simon6496ctr |
6.62 | 6.64 | 6.64 | T:simon64128ctr |
8.79 | 8.84 | 8.92 | T:aes128ctr |
9.52 | 9.53 | 9.53 | T:simon128128ctr |
10.35 | 10.38 | 10.41 | T:aes192ctr |
10.40 | 10.40 | 10.40 | T:simon128256ctr |
10.56 | 10.59 | 10.64 | T:aes128estream |
11.94 | 11.99 | 12.03 | T:aes256ctr |
18.00 | 18.02 | 18.07 | T:aes256estream |
25.55 | 26.14 | 26.44 | T:ocelot1 |
28.42 | 28.52 | 29.24 | T:ocelot2 |
39.41 | 41.47 | 43.19 | T:amastrid |
|
Cycles/byte for 4096 bytes |
25% | 50% | 75% | stream |
1.40 | 1.40 | 1.41 | tango642 |
1.73 | 1.73 | 1.73 | chacha8 |
1.99 | 1.99 | 2.00 | salsa208 |
2.30 | 2.30 | 2.30 | chacha12 |
2.68 | 2.68 | 2.70 | salsa2012 |
2.95 | 2.95 | 2.99 | T:trivium |
3.39 | 3.39 | 3.39 | chacha20 |
3.42 | 3.42 | 3.42 | T:speck6496ctr |
3.61 | 3.61 | 3.61 | T:speck64128ctr |
3.63 | 3.70 | 3.70 | T:tpy6 |
3.94 | 3.94 | 3.95 | T:sosemanuk |
4.03 | 4.03 | 4.03 | salsa20 |
4.02 | 4.03 | 4.11 | T:nlsv2 |
4.14 | 4.14 | 4.15 | T:snow20 |
4.15 | 4.16 | 4.16 | xsalsa20 |
4.15 | 4.20 | 4.25 | T:tpy |
4.46 | 4.46 | 4.47 | T:cryptmtv3 |
4.83 | 4.83 | 4.83 | T:speck128128ctr |
4.92 | 4.92 | 4.92 | T:speck128192ctr |
4.98 | 4.99 | 5.00 | T:rabbit |
5.07 | 5.07 | 5.07 | T:speck128256ctr |
5.36 | 5.36 | 5.37 | T:panama |
5.85 | 5.90 | 6.02 | T:tpypy |
5.98 | 5.98 | 5.98 | T:lexv2 |
6.67 | 6.68 | 6.69 | T:simon6496ctr |
7.05 | 7.06 | 7.07 | T:hc128 |
7.10 | 7.10 | 7.10 | T:simon64128ctr |
9.90 | 9.92 | 9.96 | T:aes128ctr |
9.97 | 9.97 | 9.97 | T:simon128128ctr |
10.68 | 10.68 | 10.68 | T:aes128estream |
11.51 | 11.52 | 11.53 | T:aes192ctr |
12.02 | 12.02 | 12.02 | T:simon128256ctr |
13.08 | 13.10 | 13.12 | T:aes256ctr |
15.57 | 15.60 | 15.66 | T:hc256 |
18.14 | 18.15 | 18.18 | T:aes256estream |
27.43 | 27.73 | 27.87 | T:ocelot1 |
30.40 | 30.43 | 30.49 | T:ocelot2 |
43.40 | 44.62 | 45.54 | T:amastrid |
|
Cycles/byte for 1536 bytes |
25% | 50% | 75% | stream |
1.78 | 1.78 | 1.78 | chacha8 |
1.85 | 1.86 | 1.87 | tango642 |
2.03 | 2.04 | 2.04 | salsa208 |
2.35 | 2.35 | 2.35 | chacha12 |
2.74 | 2.74 | 2.77 | salsa2012 |
3.18 | 3.18 | 3.20 | T:trivium |
3.45 | 3.45 | 3.45 | chacha20 |
3.51 | 3.51 | 3.51 | T:speck6496ctr |
3.71 | 3.71 | 3.71 | T:speck64128ctr |
4.08 | 4.09 | 4.11 | salsa20 |
4.34 | 4.34 | 4.37 | T:snow20 |
4.38 | 4.40 | 4.40 | xsalsa20 |
4.50 | 4.54 | 4.54 | T:nlsv2 |
4.57 | 4.59 | 4.61 | T:sosemanuk |
4.94 | 4.94 | 4.94 | T:speck128128ctr |
4.96 | 4.99 | 5.01 | T:tpy6 |
5.02 | 5.02 | 5.03 | T:speck128192ctr |
5.18 | 5.18 | 5.18 | T:speck128256ctr |
5.24 | 5.29 | 5.30 | T:rabbit |
5.95 | 5.96 | 5.97 | T:cryptmtv3 |
6.30 | 6.30 | 6.31 | T:lexv2 |
6.62 | 6.71 | 6.82 | T:tpy |
7.15 | 7.16 | 7.17 | T:simon6496ctr |
7.45 | 7.45 | 7.47 | T:panama |
7.86 | 7.87 | 7.88 | T:simon64128ctr |
8.47 | 8.62 | 8.70 | T:tpypy |
10.69 | 10.69 | 10.84 | T:aes128estream |
10.70 | 10.71 | 10.71 | T:simon128128ctr |
11.65 | 11.70 | 11.80 | T:aes128ctr |
13.39 | 13.42 | 13.48 | T:aes192ctr |
14.73 | 14.73 | 14.73 | T:simon128256ctr |
14.75 | 14.75 | 14.76 | T:hc128 |
14.94 | 15.03 | 15.06 | T:aes256ctr |
18.35 | 18.37 | 18.40 | T:aes256estream |
29.62 | 29.73 | 31.63 | T:ocelot1 |
33.26 | 33.77 | 33.79 | T:ocelot2 |
35.67 | 35.67 | 35.72 | T:hc256 |
46.95? | 47.03? | 54.64? | T:amastrid |
|
Cycles/byte for 576 bytes |
25% | 50% | 75% | stream |
2.03 | 2.03 | 2.03 | chacha8 |
2.27 | 2.27 | 2.28 | salsa208 |
2.68 | 2.68 | 2.68 | chacha12 |
3.00 | 3.00 | 3.01 | salsa2012 |
3.08 | 3.08 | 3.13 | tango642 |
3.74 | 3.76 | 3.79 | T:trivium |
3.78 | 3.79 | 3.80 | T:speck6496ctr |
3.99 | 3.99 | 3.99 | chacha20 |
4.01 | 4.02 | 4.03 | T:speck64128ctr |
4.47 | 4.47 | 4.50 | salsa20 |
4.92 | 4.92 | 4.93 | T:snow20 |
5.29 | 5.29 | 5.29 | T:speck128128ctr |
5.29 | 5.30 | 5.30 | xsalsa20 |
5.34 | 5.34 | 5.36 | T:speck128192ctr |
5.54 | 5.54 | 5.55 | T:speck128256ctr |
5.63 | 5.71 | 5.73 | T:nlsv2 |
5.92 | 5.97 | 6.06 | T:rabbit |
6.40 | 6.44 | 6.49 | T:sosemanuk |
6.85 | 6.87 | 6.90 | T:cryptmtv3 |
7.18 | 7.19 | 7.19 | T:lexv2 |
7.78 | 8.34 | 8.36 | T:tpy6 |
9.41 | 9.43 | 9.43 | T:simon6496ctr |
11.03 | 11.03 | 11.11 | T:aes128estream |
13.01 | 13.05 | 13.06 | T:panama |
13.68 | 13.71 | 14.18 | T:tpy |
15.77 | 16.14 | 16.53 | T:tpypy |
17.36 | 17.53 | 17.68 | T:aes128ctr |
18.88 | 18.90 | 18.98 | T:aes256estream |
19.47 | 19.50 | 19.68 | T:aes192ctr |
21.16 | 21.38 | 21.57 | T:aes256ctr |
21.53 | 21.54 | 21.54 | T:simon64128ctr |
23.96 | 23.96 | 23.97 | T:simon128128ctr |
27.88 | 27.88 | 27.88 | T:simon128256ctr |
35.43 | 35.51 | 35.53 | T:hc128 |
36.94 | 37.39 | 38.51 | T:ocelot1 |
40.83 | 42.08 | 42.11 | T:ocelot2 |
58.29 | 58.36 | 58.77 | T:amastrid |
89.31 | 89.48 | 89.64 | T:hc256 |
|
Cycles/byte for 64 bytes |
25% | 50% | 75% | stream |
4.33 | 4.34 | 4.34 | chacha8 |
4.56 | 4.56 | 4.56 | salsa208 |
5.62 | 5.62 | 5.62 | chacha12 |
5.66 | 5.66 | 5.66 | salsa2012 |
7.16 | 7.16 | 7.16 | T:speck6496ctr |
7.23 | 7.23 | 7.28 | T:speck64128ctr |
7.91 | 7.91 | 7.91 | salsa20 |
8.34 | 8.34 | 8.36 | chacha20 |
9.00 | 9.00 | 9.00 | T:speck128192ctr |
9.58 | 9.58 | 9.58 | T:speck128128ctr |
9.75 | 9.75 | 9.75 | T:speck128256ctr |
11.31 | 11.45 | 11.47 | T:trivium |
12.20 | 12.27 | 12.27 | T:snow20 |
14.72 | 14.72 | 15.00 | T:rabbit |
15.41 | 15.41 | 15.41 | xsalsa20 |
15.59 | 15.59 | 15.59 | T:aes128estream |
15.61 | 15.61 | 15.78 | T:simon6496ctr |
17.22 | 17.22 | 17.22 | T:lexv2 |
17.20 | 17.34 | 17.42 | T:cryptmtv3 |
17.67 | 17.67 | 17.67 | T:simon64128ctr |
18.66 | 18.72 | 18.83 | tango642 |
23.00 | 23.30 | 23.64 | T:nlsv2 |
24.70 | 24.70 | 24.70 | T:simon128128ctr |
25.17 | 25.17 | 25.20 | T:simon128256ctr |
26.33 | 26.47 | 26.62 | T:aes256estream |
26.56 | 26.95 | 27.28 | T:sosemanuk |
52.61 | 52.83 | 53.50 | T:tpy6 |
83.86 | 84.16 | 84.45 | T:panama |
95.14 | 95.91 | 97.56 | T:aes128ctr |
102.34 | 103.33 | 105.22 | T:tpy |
104.02 | 104.47 | 105.22 | T:aes192ctr |
108.52 | 108.75 | 109.61 | T:aes256ctr |
109.14 | 109.45 | 112.23 | T:tpypy |
129.88 | 132.48 | 133.84 | T:ocelot1 |
136.28 | 138.00 | 139.19 | T:ocelot2 |
163.05 | 166.73 | 173.94 | T:amastrid |
299.75 | 299.78 | 299.88 | T:hc128 |
777.98 | 778.84 | 779.75 | T:hc256 |
|
Cycles/byte for 8 bytes |
25% | 50% | 75% | stream |
26.25 | 26.25 | 26.25 | T:speck6496ctr |
30.88 | 31.62 | 31.75 | T:speck64128ctr |
32.12 | 32.12 | 32.12 | T:speck128256ctr |
33.25 | 33.25 | 33.25 | T:speck128192ctr |
33.75 | 33.75 | 33.75 | T:speck128128ctr |
38.25 | 39.25 | 39.75 | chacha8 |
48.38 | 49.12 | 50.25 | chacha12 |
54.75 | 54.75 | 59.00 | salsa208 |
63.62 | 66.50 | 67.88 | salsa2012 |
69.00 | 69.00 | 69.00 | chacha20 |
71.75 | 72.25 | 72.25 | T:trivium |
75.38 | 75.38 | 76.62 | T:simon6496ctr |
81.00 | 81.00 | 81.00 | T:aes128estream |
82.62 | 82.62 | 82.62 | salsa20 |
88.50 | 88.50 | 88.50 | T:simon64128ctr |
88.12 | 89.38 | 90.00 | T:rabbit |
96.62 | 97.50 | 98.50 | T:snow20 |
102.00 | 102.00 | 102.00 | T:lexv2 |
103.75 | 104.25 | 104.75 | T:cryptmtv3 |
105.38 | 105.50 | 107.25 | T:aes256estream |
115.75 | 115.75 | 115.75 | T:simon128128ctr |
120.12 | 121.62 | 121.62 | T:nlsv2 |
132.88 | 134.00 | 136.12 | T:simon128256ctr |
141.88 | 142.25 | 143.00 | tango642 |
144.00 | 144.12 | 145.62 | xsalsa20 |
212.50 | 214.38 | 217.00 | T:sosemanuk |
373.88 | 409.25 | 410.00 | T:tpy6 |
574.75 | 587.75 | 602.12 | T:aes128ctr |
607.00 | 610.25 | 624.38 | T:aes192ctr |
612.00 | 621.25 | 631.12 | T:aes256ctr |
661.75 | 665.25 | 669.25 | T:panama |
813.00 | 816.88 | 824.62 | T:tpy |
836.25 | 848.12 | 863.38 | T:tpypy |
877.50 | 881.50 | 899.12 | T:ocelot1 |
891.25 | 902.38 | 908.12 | T:ocelot2 |
1121.12 | 1131.88 | 1139.25 | T:amastrid |
2395.75 | 2397.75 | 2398.75 | T:hc128 |
6202.88 | 6210.00 | 6240.50 | T:hc256 |
|
|