摘要 |
A pseudo random number generation device (100) generates a pseudo random number as follows. In C.2, S1[B41] is decided from B41 set in a second internal memory, and S2[B40] is decided from B40. R[J] is generated from S1[I], S1[B41], and S2[B40]. In C.3, S1[I] is newly generated according to S1[B41] and S2[B40]. In C.4, B4 is updated from S2(I). In the aforementioned process, the association of R[J] with S2(I) is cut off and it is difficult to estimate S2(I) from R[J], which increases the safety. Moreover the S1[I], S1[B41], S2[B40], and the like are four-byte codes and processing speed can be increased. |