Furthermore, the secret key to maintain secrecy in data transfer with an external source of the memory card and between memory cards includes a public encryption key KPmedia unique to each medium, i.e. common to all memory cards, a private decryption key Kmedia to decrypt data encrypted with public encryption key KPmedia, and a secret symmetric key Ks generated for each communication, for example,