|
|
| Author |
Message |
| karoshi |
This post is not being displayed .
|
 karoshi Brolly Dolly

Joined: 28 Jun 2006 Karma :   
|
 Posted: 14:30 - 23 Aug 2013 Post subject: probability of automatic swearing? |
 |
|
Probability question based on something that just happened on an IT system at work.. can anyone with a statistical leaning help me work through this:
The IT System in question's website has an automated "i forgot my password, please reset it" function, it resets the password to a random 10 digit string of alphanumeric characters - acceptable characters are A-Z and 0-9 (so 36 options for each space in total)
Can anyone tell me, or show me how to work out, what the chance is that the automated process would place a certain 4 Letter word somewhere within the 10 digit string?
I'm getting stuck thinking about the number of possible starting places in the string and the probability of each letter in turn.. e.g. if the word is "DUCK" there's 7 places in the 10 letter string that the "D" could turn up at a 1-in-36 probability, then a 1-36 chance of "U" turning up next, then 1-36 of a "C" and so on?
So, is it 1 chance in (36 x 36 x 36 x 36) over 7?
(7 because there's 7 places that the "D" could appear with enough space left in the 10 digit string for the other three letters)
 ____________________ Well, I've wrestled with reality for 35 years, Doctor, and I'm happy to state I finally won out over it. - Elwood P. Dowd |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| lukamon |
This post is not being displayed .
|
 lukamon World Chat Champion

Joined: 18 May 2007 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| ScaredyCat |
This post is not being displayed .
|
 ScaredyCat World Chat Champion

Joined: 19 May 2012 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| stinkwheel |
This post is not being displayed .
|
 stinkwheel Bovine Proctologist

Joined: 12 Jul 2004 Karma :    
|
 Posted: 23:09 - 25 Aug 2013 Post subject: |
 |
|
I think that's the chance of all those letters turning up in the string.
The chance of them all turning up in that order and sequentially is massively less.
But do remember, the chances of it coming out in the next string is exactly the same as the chances of it coming out in the first one.
There are 3,656,158,440,062,975 possible passwords using base 36 to 10 digits ____________________ “Rule one: Always stick around for one more drink. That's when things happen. That's when you find out everything you want to know.”
I did the 2010 Round Britain Rally on my 350 Bullet. 89 landmarks, 3 months, 9,500 miles. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| karoshi |
This post is not being displayed .
|
 karoshi Brolly Dolly

Joined: 28 Jun 2006 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Lurkio |
This post is not being displayed .
|
 Lurkio L Plate Warrior
Joined: 15 Dec 2012 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| karoshi |
This post is not being displayed .
|
 karoshi Brolly Dolly

Joined: 28 Jun 2006 Karma :   
|
 Posted: 09:53 - 27 Aug 2013 Post subject: |
 |
|
Hi Lurkio,
exact situation is that;
- a website system that we use at work has an automated "i forgot my password" reset system, the user clicks a button and the site creates and emails them a randomised new password.
- rules for creation of the password are that it has to be 10 characters long and made up entirely of alphanumeric the characters: abcdefghijklmnopqrstuvwxyz0123456789
- this system has been running for two years and last week generated a password for a user that within its 10 letters contained a specific 4-letter word, e.g:
"xxxxPUNTxx"
- so my question is, what was the chance of that specific 4-letter word appearing anywhere within in a randomised 10-letter string?
my first thoughts were that there are 7 places where the 4-letter word could appear, from "PUNTxxxxxx" to "xxxxxxPUNT"
I figure that the chance of a specific letter appearing in any position in the string is 1/36, and there's 7 chances for a relevant letter to appear in a relevant place (so I possibly have to divide the whole thing by 7?), but I can't work out how to convert that into a "x in y" probability figure.
And I'm getting hung up on the idea that aside from the basic probability of each letter appearing, do I also have to figure into it the probability that each letter appears after the relevant letter in the string - i.e. there's a 1 in 36 chance of getting the "U" but only a 1 in 36 chance that it's preceded by a "P", and so on? ____________________ Well, I've wrestled with reality for 35 years, Doctor, and I'm happy to state I finally won out over it. - Elwood P. Dowd |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| Lurkio |
This post is not being displayed .
|
 Lurkio L Plate Warrior
Joined: 15 Dec 2012 Karma :  
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
Old Thread Alert!
The last post was made 12 years, 318 days ago. Instead of replying here, would creating a new thread be more useful? |
 |
|
|