Jump to content

Build Theme!
  •  
  • Infected?

WE'RE SURE THAT YOU'LL LOVE US!

Hey there! :wub: Looks like you're enjoying the discussion, but you're not signed up for an account. When you create an account, we remember exactly what you've read, so you always come right back where you left off. You also get notifications, here and via email, whenever new posts are made. You can like posts to share the love. :D Join 93122 other members! Anybody can ask, anybody can answer. Consistently helpful members may be invited to become staff. Here's how it works. Virus cleanup? Start here -> Malware Removal Forum.

Try What the Tech -- It's free!


Photo

ASAP! College work - Calculations


  • Please log in to reply
1 reply to this topic

#1 GaryORLFC

GaryORLFC

    Authentic Member

  • Authentic Member
  • PipPip
  • 56 posts
  • Interests:Sports, Music, Gaming, Computers & Drinks With Friends.

Posted 21 October 2009 - 03:24 PM

Hey there, I am in college undergoing a computer course and I missed out on a few classes recently in Operating Systems. I am just wondering if anyone knows how to do these two questions: (1.) If a password is a code that consists of 10 digits what is the maximum number of combinations that have to be generated in order to break the code? (2.) A password hacker devised a system of trying out passwords using a program which ran once a second. How long on average would it take to crack a password consisting of 6 characters taken from the alphabet (both upper and lower case) and the digits 0-9? Show all your calculations. I need to know this in the next hour or so that's why I put ASAP in the topic title. Thanks to whoever helps me out, I'm truely appreciative.

Posted Image

    Advertisements

Register to Remove


#2 Blottedisk

Blottedisk

    Malware Team Emeritus

  • Authentic Member
  • PipPipPipPipPip
  • 1,338 posts

Posted 21 October 2009 - 07:20 PM

Hi there Gary :wavey:


Hope itīs not too late, Iīll try to help you here anyway.


(1.) If a password is a code that consists of 10 digits what is the maximum number of combinations that have to be generated in order to break the code?



Supposing the password allows only decimal symbols, the maximun number of combinations would be 10^10 (10 to the tenth power).
Where 10 is the quantity of different symbols that the password allows (in case of decimal, there are 10 different symbols: 0,1,2,3,4,5,6,7,8,9) and 10 is the length of the password.

Supposing the password allows only lowercase symbols from the alphabet, the maximun number of combinations would be 26^10 (26 to the tenth power).
Where 26 is the quantity of different symbols that the password allows (in case of English alphabet, there are 26 different symbols-letters: a,b,c,d,e,f,g,h...) and 10 is the length of the password.


So, a generic answer would be: The maximun number of combinations would be n^10, where n is the numer of symbols the password accepts and 10 is the length of the password.


(2.) A password hacker devised a system of trying out passwords using a program which ran once a second. How long on average would it take to crack a password consisting of 6 characters taken from the alphabet (both upper and lower case) and the digits 0-9? Show all your calculations.



I believe that "Ran once a second" means that it tries a single combination-password per second. So, letīs first calculate the maximun number of combinations (like in exercise 1).

Okay, English Alphabet is 26 words right? So, considering both uppercase and lowercase, there will be 52 different symbols. But if we also add the decimal symbols (1,2,3,4,5,6,7,8,9), we will have a 62 symbols-"language", or in other words, the password will accept 62 different symbols.


So, the maximun number of combinations will be 62^6 (62 to the sixth power).
Where 62 is the number of different available symbols to use in the password and 6 is the lenght of the password.

Okay, so if the program tries one combination per second, it will take the hacker 62^6 (62 to the sixth power) seconds on average to gain acces to the system.



==================================


At this point thereīs an interesting point of discussion that is related to the exercises you propose. When choosing a strong password, what do you think is more important: length of the password or the number of different symbols it consists of?

Edited by Blottedisk, 21 October 2009 - 08:50 PM.

-- Proud Graduate of the What the Tech Classroom --
-- ASAP Member --
-- UNITE Trained Eliminator --

Related Topics



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users