Professional Documents
Culture Documents
Pseudo Random Number Generators Random Numbers: Requirements On A Sequence of RN
Pseudo Random Number Generators Random Numbers: Requirements On A Sequence of RN
UU/IT
Random numbers
Pseudo Random Number Important:
Generators • Key generation for PKS
Primality testing
• Key generation for symmetric ciphers
• Nonces (one-time values)
Randomness makes guessing impossible
UU/IT UU/IT
UU/IT UU/IT
1
5/28/2009
UU/IT UU/IT
xn+1 = (axn+ c) mod m So, R’ = HR mod 2, where H is an n n matrix whose first row is T
and the rest has 1 on the subdiagonal, 0 otherwise
xn+2 = (axn+1+ c) mod m
xn+3 = (axn+2+ c) mod m
UU/IT UU/IT
UU/IT UU/IT
and Y (( k n 1 ,..., k 2 ), (k n 2 ,..., k3 ),..., (k 2 n ,..., k n 1 )) - GSM uses " A5" with LFSRs of length 19, 22, 23
-Y HX mod 2, and since X is always nonsingula r, LFSRs are fast!
H YX 1 mod 2, and T is the first row of H
- Inverting X is O(n 3 ) :1 day for n 1000 , 1 MIPS
Aletta Nylén @ UU/IT 2009-05-28 | #11 Aletta Nylén @ UU/IT 2009-05-28 | #12
2
5/28/2009
UU/IT UU/IT
Aletta Nylén @ UU/IT 2009-05-28 | #13 Aletta Nylén @ UU/IT 2009-05-28 | #14
UU/IT UU/IT