摘要 |
PURPOSE: To generate pseudo-random numbers in a smart card by conforming to a specific program of the card. CONSTITUTION: A first means consists or the combination or two keys PK and MK in a memory RAM 10 of the card, and logical operation, preferably, bit state exclusive OR addition (modulo 2 addition KMP of PK and MK) is executed between these keys. A key KMP and a message (number) ME are combined by a second means. This combination means that the message ME is ciphered by the key KMP in accordance with reversible algorithms ALG and ALG<-1> . That is, ALGKMP(ME)=NU is true, and here, NU is a specific number and pseudo-random numbers. Thus, pseudo-random numbers as the peculiar number are easily generated by a specific program included in a program memory 6. |