摘要 |
PROBLEM TO BE SOLVED: To solve the problem that a Latin cube to be used can be conjectured by a third party in the use of cipher, etc., since, in the method for generating a Latin cube according to the permutation of symbols and selection order, the Latin cube to be generated next is uniquely defined. SOLUTION: The arithmetic section 1 sets up an existing n-th order Latin cube in a Latin cube storing array 9, and also sets up symbols m for all the number of order n with the permutation and the selection order according to the permutation, determines either one direction of X-axis direction, Y-axis direction or Z-axis direction as a conversion reference axis, sets up replacing information P in a symbol replacing section 13 and, according to the replacing information, sets the selection order value of the symbol of n elements on each axis as the value of the position to be replaced, then replaces n order values of each position as the selection order value of the symbol of elements. Thus, new elements are arranged in the Latin cube storing array 9 to generate a new Latin cube.
|