I’m interested in gathering some stats about how fast keypairs can be generated by various different computers out there in the wild.

If you’re interested in contributing, please run the relevant binary and post your results here.

Binaries available from github.com/iancoleman/ed25519_brute_force - v0.1 or compile from source if you have rust nightly installed.

What do these numbers mean for vault operators?

Using this table it means an average vault in a network of 1M nodes will require 11,000 guesses to find a keypair when relocating.

This means a modern desktop would take about 0.4s to find a keypair and a Pine64 would take about 3s. It takes longer if the network is larger; the table can be used to work out just how much.

A bit more info about why this matters can be found in the dev forum thread Secure Random Relocations.

DESKTOP

2017 i7-7700 @ 3.60GHz

1.146983566 seconds to generate 10000 sodium keys

8718 sodium keys per second

0.330962097 seconds to generate 10000 dalek keys

30214 dalek keys per second

LAPTOP

2011 laptop i7 Q720 1.60GHz

1.652705018 seconds to generate 10000 sodium keys

6050 sodium keys per second

1.31071935 seconds to generate 10000 dalek keys

7629 dalek keys per second

2013 macbook air laptop 1.3 GHz Intel Core i5

1.724601447 seconds to generate 10000 sodium keys

5798 sodium keys per second

0.640009622 seconds to generate 10000 dalek keys

15624 dalek keys per second

2014 i7-4500U @ 1.80GHz

1.71509964 seconds to generate 10000 sodium keys

5830 sodium keys per second

0.482271557 seconds to generate 10000 dalek keys

20735 dalek keys per second

SOC

2011 RPi1 armv7

78.000507394 seconds to generate 10000 sodium keys

128 sodium keys per second

16.306875889 seconds to generate 10000 dalek keys

613 dalek keys per second

2014 RPi2 B V1.1 armv7

35.324160885 seconds to generate 10000 sodium keys

283 sodium keys per second

7.615326706 seconds to generate 10000 dalek keys

1313 dalek keys per second

2016 Pine64 AArch64 Processor rev 4 (aarch64)

13.814146097 seconds to generate 10000 sodium keys

723 sodium keys per second

2.668642973 seconds to generate 10000 dalek keys

3747 dalek keys per second