A 4 digit password takes about 11 seconds on an online attack (limited to 1000 attempts per second).
Offline attack 0.000000111 seconds
Using a GPGPU array 0.000000000111 seconds
https://www.grc.com/haystack.htmIt is the lock out systems and auto wipe systems that can slow things down, or stop them in their tracks.
The longest part of the equation is going to be dumping the data out in a form that is court acceptable - it has to be an exact copy and they have to prove that the data in the device has not been altered (i.e. it is in read-only mode).
My Windows password comes in at:
Search Space Depth (Alphabet): 26+10+33 = 69
Search Space Length (Characters): 27 characters
Exact Search Space Size (Count):
(count of all possible passwords
with this alphabet size and up
to this password's length) 45,213,239,798,058,967,886,035,417,361,349,315,464,671,600,690,179
Search Space Size (as a power of 10): 4.52 x 1049
Time Required to Exhaustively Search this Password's Space:
Online Attack Scenario:
(Assuming one thousand guesses per second) 14.38 trillion trillion trillion centuries
Offline Fast Attack Scenario:
(Assuming one hundred billion guesses per second) 1.44 hundred thousand trillion trillion centuries
Massive Cracking Array Scenario:
(Assuming one hundred trillion guesses per second) 1.44 hundred trillion trillion centuries