摘要 |
<p><P>PROBLEM TO BE SOLVED: To provide a storage apparatus and a data writing method that encrypt, when a key for encrypting user data in a storage medium is changed, the user data with a new key and safely write the encrypted data into the storage medium. <P>SOLUTION: When the key is changed, a magnetic storage device 1 divides the user data written in the storage medium into a plurality of pieces, encrypts a piece of the user data adjacent to the key changing region with the changed key, writes the encrypted piece into the key changing region, sequentially shifts each of the pieces other than the piece of the user data adjacent to the key changing region in a direction from the location of the divided user data in the storage region toward the key changing region, and writes the shifted pieces. <P>COPYRIGHT: (C)2010,JPO&INPIT</p> |