Px <- c(0.176655497, 0.126641488, 0.121622944, 0.091862545,
0.071595265, 0.069529904, 0.059913864, 0.047042958, 0.039233254,
0.037325672, 0.032091433, 0.031610361, 0.024033405, 0.014871084,
0.011766575, 0.009983877, 0.009134170, 0.006935707, 0.005853433,
0.003527981, 0.003448401, 0.002264533, 0.001538166, 0.001517484)
Let X be the number of guesses before discovering the secret key
and let Px be its probability distribution. For Px as above, the
expected number of guesses before an attacker, who makes the
optimal series of guesses, uncovers X is quite low - what is the
expected number of guesses? What would be the expected number of
guesses if X was uniformly distributed? If it is uniformly
distributed, I am guessing the expected number of guesses will be 12
as the total number of Px is 24. Can anyone suggest if I am in the
right direction!!