摘要 |
PROBLEM TO BE SOLVED: To enable even an inexpensive microcomputer to easily randomize information fast by obtaining a random integer through bit AND operation with random integer data varying source integer data within a specific range. SOLUTION: The positive source integer data which vary within a range of 0<=x<=xm are inputted first (S1). Then integer data (z) which vary at random within a (fixed) range of 0<=z<=zm (zm: maximum value of z and fixed value of zm>=xm) are calculated. Since the distribution range of (z) is fixed, this operation is carried out by a method like random table reference (read of values of a previously stored random number table in order) (S2). Then bit AND between the source information (x) and data (z) is calculated and outputted as data (y) (S3). The arithmetic result (y) is determined depending upon the degree of matching between the digits of the data (x) and data (z), but (z) is random data, so (y) is also data having random property under its influence. |