Patent ID: 8762717

Claim:
A device comprising: a memory being used to store a host identification key (IDKey), a host constant (HC), and a first key (HKey), the first key (HKey) being generated based on the host constant (HC); a generator configured to decrypt encrypted secret identification information (E-SecretID) read from an external device, by using information generated with the host identification key (IDKey) to generate a secret identification information (SecretID); a third generator configured to generate a random number (RN); a fourth generator configured to generate a session key (SKey) by using the first key (HKey) and the random number (RN); a fifth generator configured to generate a first authentication information (Oneway-ID 1 ) by processing the secret identification information (SecretID) with the session key (SKey) in one-way function operation; and a verification unit configured to determine whether the first authentication information (Oneway-ID 1 ) and a second authentication information (Oneway-ID 2 ) match, the second authentication information (Oneway-ID 2 ) being generated by the external device with the host constant (HC) transmitted to the external device.