A device to communicate with an external device via a controller comprising: a) a memory comprising: a1) a first memory area being used to store a unique secret identification information (SecretID), the first memory area being prohibited from being read from outside at least after shipping, a2) a second memory area being used to store encrypted secret identification information (E-SecretID) generated by encrypting the secret identification information (SecretID) with a family key (FKey), the second memory area being required to be read-only from the outside, and a3) a third memory area being used to store a family key block including data generated by encrypting the family key (FKey) with an identification key (IDKey), the third memory area being required to be readable and writable from the outside; and b) an authentication module configured to perform authentication with the external device using information stored in the memory, wherein c) a session key (SKey) is generated by encrypting a random number received from the external device based on AES, d) authentication information (Oneway-ID) is generated in one-way function, and e) the encrypted secret identification information (E-SecretID), the family key block and the authentication information (Oneway-ID) is output to the external device; characterized in that a11) the first memory area is used to also store a first key (NKey); b1) a second key (HKey) is generated by encrypting a first number received from the external device with the first key (NKey) read from the first memory area of the memory based on AES, c1) the session key (SKey) is generated by encrypting the random number received from the external device with the second key (HKey) based on AES, and d1) the authentication information (Oneway-ID) is generated by calculating the secret identification information (SecretID) with the session key (SKey) in one-way function. a) a memory comprising: a1) a first memory area being used to store a unique secret identification information (SecretID), the first memory area being prohibited from being read from outside at least after shipping, a2) a second memory area being used to store encrypted secret identification information (E-SecretID) generated by encrypting the secret identification information (SecretID) with a family key (FKey), the second memory area being required to be read-only from the outside, and a3) a third memory area being used to store a family key block including data generated by encrypting the family key (FKey) with an identification key (IDKey), the third memory area being required to be readable and writable from the outside; and a1) a first memory area being used to store a unique secret identification information (SecretID), the first memory area being prohibited from being read from outside at least after shipping, a2) a second memory area being used to store encrypted secret identification information (E-SecretID) generated by encrypting the secret identification information (SecretID) with a family key (FKey), the second memory area being required to be read-only from the outside, and a3) a third memory area being used to store a family key block including data generated by encrypting the family key (FKey) with an identification key (IDKey), the third memory area being required to be readable and writable from the outside; and b) an authentication module configured to perform authentication with the external device using information stored in the memory, wherein c) a session key (SKey) is generated by encrypting a random number received from the external device based on AES, d) authentication information (Oneway-ID) is generated in one-way function, and e) the encrypted secret identification information (E-SecretID), the family key block and the authentication information (Oneway-ID) is output to the external device; a11) the first memory area is used to also store a first key (NKey); b1) a second key (HKey) is generated by encrypting a first number received from the external device with the first key (NKey) read from the first memory area of the memory based on AES, c1) the session key (SKey) is generated by encrypting the random number received from the external device with the second key (HKey) based on AES, and d1) the authentication information (Oneway-ID) is generated by calculating the secret identification information (SecretID) with the session key (SKey) in one-way function.