摘要 |
PROBLEM TO BE SOLVED: To provide a hash function which is small in package scale and which is assured of theoretical security and package security. SOLUTION: A hash value generating device includes a control section 120 which divides an input message into N (N is a natural number) message blocks with predetermined data length, repeatedly carries out predetermined R (R is a natural number≥2) rounds of conversion processing to the message blocks, and generates the hash value of the input message by repeating block encryption N times wherein the value calculated by R rounds of conversion processing in the n-th (n is a natural number) message block is used as key information in the (n+1)th message block. In the shift conversion in the conversion processing carried out in the control section 120, at least one shift in an odd bit number and one shift in an even bit number are included respectively. COPYRIGHT: (C)2008,JPO&INPIT
|