title: Calculating a Brute Force time
body: <p>Can anyone help me answering a sample exam question about cracking passwords.
  I have been given the amount of checks per second, the maximum length of the password and how many potential characters makes up the password and I need to figure out how long it would take to crack the password?</p>
  
  <p><code>the attacker can perform 10^6 password checks every second;</code></p>
  
  <p><code>the password is up to eight characters long;</code></p>
  
  <p><code>each character from the password can consist of one of 70 different characters;</code></p>
  
  <p>How would you go about answering this question, what formula would you use to calculate the answer?</p>
  
  <p>Thank you.</p>