Title: PRBGs Pseudorandom Bit Generators
1PRBGs Pseudo-random Bit Generators
2????
- ????? ??????? ????????? ????? ????? ?? ?????
- ???????????.
- RSA , DES , Digital Signature ) ????... (.
- ????? ????? ?? probability-based searching
strategy. - ?? ????? .
- ????? ?????????? Pseudo-Random bit Generator
?????? ??????.
3ANSI X9.17
- ????? ?-generator ??? ???? ?????????? , ??????
- Triple DES, ?????? ??????? ??????? ?????, PGP .
- ????? ??? ????? ?????? ?????? , ????? 64 ?????.
- 1. DTi - ???? ?? ???? ?????? ??????? ?????? ??
??? i . - 2. Vi seed (?????) ?????? ???????? ???????
????? - ????? ?- generation .
4ANSI X9.17
- Keys k1,k2 ????? 56 ????? ?? ???, ????????.
- ?- Generator ????? ?- 3 ?????? ?? ????? ???
Triple DES - ??????? ?????? ?????? ??????? , ???????? ??? ??
??? ?????? pseudo random generation . - ????? Ri , Vi1
- Ri ???? pseudo random
- ( ??????? ??"? ?- generator ) , ????? ??? ??????
????? Vi1 - 2. Vi1 seed value ?????? ?????? ?? -
generation.
5ANSI X9.17
K1,K2
K1,K2
K1,K2
DTi
EDE
Vi1
EDE
Vi
EDE
Ri
6ANSI X9.17
- ?????? ??????? ????? ?????? ?????? ?- generator
- ??????? ??????? 2 ?????? ????? 56 ????? ?? ??? ,
?-3 ?????? ?? EDE (Encryption-Decryption-Encryptio
n) - ?????? ?? ??? ??????.
- ????? ????? ?? Ri , ?? ???? ?????? ????? Vi1 ,
?????? ????? ??? EDE , ?????? ???????.
7Linear Congruential Generator
- ???? ?????????
- ??? ????? ????????
- ????? m gt2
-
- a,b ???????? -
- ????? k
8Linear Congruential Generator
- ????? t ?????
- ????? s0 ?- sequence ????? lt m-1 s0 0 lt
-
- ???? t ???????? ????? ????? ????.
9Linear Congruential Generator
- ??? ?- Sequence ?"? si (a.si-1 b) mod m
3. ???? 1 lt i lt t
???? zi ???? ?- least significant bit ?? si .
10Linear Congruential Generator
- ????? ???? m16, a5, b5, s07
- S1 (5.75)mod16 8
- S2 (5.85)mod16 13
- .
- ????? 7,8,13,6,3,4,9,2,15,0,5,14,11,12,1,10,7,8,
13,6,3, - k log2m 4 , k1 lt t ltm1 t 6
- ????? f(7)
0,1,0,1,0,1,
11Linear Congruential Generator
- ????? ??-sequence ?? ????????
- ????? ?? ?????? ???? zi ( mod 2 si) ?????
????? ??????? ?? ????? ????? t. - ???? ?????? f(s0) , ????
- (k,t)-Linear Congruential Generator
???????...
12Linear Congruential Generator
- ????? ????????? ?? ????? ??? ?????? ????????, ??
?? ????? ???? -
- ???? ????????? ???????,
- ??? ?? ????? ????? ???????????.
13RSA Generator
- ??? ??? ?????? ?????? ???????? p , q.
- ????? k/2 .
- n p.q
- ??? ???? ????? b ???? ?????
- ???? n , b Public Keys
- p , q Private Keys
14RSA Generator
- ???? s0 - seed ???? ???????? ????? 1 , n-1.
- s0 ??? k ?????.
- ???? i gt1 ?????
- zi ???? ??? ?????? ?????? ??????? ??"? ?????
i. - 4. ???? ??? ?? ????? ?- output
- ????? ????? ????????.
15RSA Generator
- ????? ?-generator ???? ???? ???? ????
- ?????? RSA .
- ??? ?- n ???? ???? ???? ( p , q ?????? ????????
??????) - ??? ?- generator ???? ???? ????.
16????? ?? RSA Generator
- ?????? ?????? ?????? ?"? ???? ???? ?? RSA
- Micalli Shnorr pseudo random bit generator.
- ?????
- ??? p , q ????????.
- n p.q. ????
- ???? ?? ???? ?????? ?? n
- ????? ?????? Nfloor(lgn)1
17????? ?? RSA Generator
- ??? ???? ??? b ?????? ?? ?????
- ???????
- ??? k ?? ?-
18????? ?? RSA Generator
- 2. ???? s0 - seed ???? ???????? ????? 1 ,
r-1. - s0 ??? r ?????.
- 3. ???? i1 to t
- 4. ??????? ?? ??????
- ????? kt
19????? ???????
? RSA ?? k ????? , ???????? ?? ????? ???? ???
???? ?????? ???, ??? ????????? Micalli ?? r ?????
?????? ??????.
20BBS Generator Quadratic Residue
- ???? ?"? Blum , Blum-Shub
- ??? ???????? ????? ???? ?- RSA .
- ??? ??? ????? ?? ????? Quadratic residues ??
?????? ??????? ?? n ?? ????.
21BBS Generator Quadratic Residue
- ??? ??? ?????? ???????? p , q. ????? k/2 .
- ????
- p q 3 mod 4
- n p.q
- ???? n , b Public Keys
- p , q Private Keys
22BBS Generator Quadratic Residue
2. ??? QR(n)
23BBS Generator Quadratic Residue
- ???? s0 - seed ???? ???????? ????? ?? QR(n) .
- ????? si2 mod n si1
- si mod 2 zi
- zi ???? ??? ?????? ?????? ??????? ??"? ?????
i. - 4. ???? ??? ?? ????? ?- output
- ????? ????? ????????.
24BBS Generator Quadratic Residue
- ????? ?????? ?????? ????? z1,z2,,zt
- ???? n192649383x503 and s01013552(n) 20749
????
25BBS Security
- ?????? ?????? ?????? ???? ????? ??? ????????? ???
??? ????? ??????. - ???????? ????? ??? ?- so ???? ????? ????? ????
??? ??? ???? ?????? ????? ?? ?????? ???????????. - , ?? ?- QR mod n ???? ??
???? - ??????.
-
26?????
- ???? ????? ?? ????? ????? ?????? ?? ????? ??????
pseudo ???????. - ???? ?????? ?- generator ????? ????? ????? ??
???? ????.