Re: PGP



Tim Smith wrote:
In article <4YKdnbP4xoAE0bvVnZ2dnUVZ_o3inZ2d@xxxxxxxxxxxxx>,
David Eather <eather@xxxxxxxxxx> wrote:
--- In PGP, what is the probability that a user with N public keys
will have at least one duplicate key ID?
Sub Key ID is 32 bits long, so the answer is 2^16 or 65536.

Uhm...should the probability be somewhere in [0,1]? :-)


Doh! Yes of course.

If you have N keys, out of a total possible M keys, the chance of a match is

P = 1 - ((M-1)/M * (M-2)/M * ...(M-(N-1))/M)

which would simplify into something much prettier - maybe this (no warranty expressed or implied - going from memory with no sleep for 30hrs). On the plus side, if I am wrong someone will correct me.

M!
P = 1 - ----------------
(M-(N-1))! x M^N
.



Relevant Pages

  • Re: [SLE] Dell Inspiron Keyboard
    ... None of these keys generate scan codes in Showkey. ... try the keyboard on another PC? ... Since the keyboard is part of a laptop, it's a bit hard to move it to ... DOH! ...
    (SuSE)
  • I found a way to Decrypt encrypted win2k files - fingers crossed.
    ... i didn't backup the keys. ... DOH! ... >and off ahaha.. ...
    (microsoft.public.win2000.security)
  • Re: DFSORT question MERGE w/SUM FIELDS=NONE
    ... will SORTOUT contain only one of the records with the duplicate key? ... the lowest SORTINnn or the one read from the highest SORTINnn DD ... either the first or last among identical keys, ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)
  • Re: KSAMXL Question/Problem -- Key Info
    ... "RDUP specifies that each new duplicate key is inserted randomly in the ... RDUP is used if the reuse option is selected. ... I was expecting two dup keys on the listf of the file ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • PGP
    ... --- In the PGP scheme, what is the expected number of session keys ... will have at least one duplicate key ID? ...
    (sci.crypt)