摘要 |
According to one embodiment, a storage apparatus includes: an encryption key generation information generator configured to generate encryption key generation information used to generate an encryption key based on information from a host computer; an encryption key generator configured to generate the encryption key based on the encryption key generation information; an initialization data encryption module configured to encrypt initialization data of a storage medium received from the host computer using the encryption key; a decryption module configured to decrypt data read from the storage medium using a decryption key corresponding to the encryption key; a comparator configured to compare data decrypted by the decryption module and the initialization data; and a write processor configured to permit, when the comparator determines that the data decrypted by the decryption module and the initialization data match with each other, to write user data in the storage medium.
|