The experimental approach is probably the most useful to estimate crack times on any given hardware. Using JohnTheRipper, you can benchmark a hash algorithm with the --test
option. In the latest JohnTheRipper (bleeding-jumbo branch), the DES hash algorithm is called crypt
, so:
$ john --format=crypt --test
Will run 4 OpenMP threads
Benchmarking: crypt, generic crypt(3) DES [?/64]... (4xOMP) DONE
Speed for cost 1 (algorithm [1:descrypt 2:md5crypt 3:sunmd5 4:bcrypt 5:sha256crypt 6:sha512crypt]) of 1, cost 2 (algorithm specific iterations) of 1
Many salts: 1053K c/s real, 268164 c/s virtual
Only one salt: 1060K c/s real, 267927 c/s virtual
With 4 threads, I get about a million hashes/second. DES has a key space of $2^{56}$, but for most real (UNIX) passwords this can probably be assumed to be $95^{8}$ (for 8 printable ASCII characters). Unfortunately, this is still $95^8 / 1060000 =$ 293 years to exhaust the key space.
So, a CPU (even a modern one) is probably the wrong tool for this job.
parallel problem
. 2)sequential cpu
and 3)bitsliced AVX2
. $\endgroup$