Patent ID: 8935540
Filing Date: 2015-01-13
Classification: G06F

Abstract:
1. An electronic device causing a removable storage medium to store data, the electronic device comprising: the removable storage medium; a storage medium interface connecting to the storage medium; and a control unit generating an encryption key at a predetermined timing, encrypting data to be stored in the storage medium using the encryption key, and storing the encrypted data in the storage medium, wherein when a removal operation of the storage medium made by a user is detected, the control unit stores the encryption key in the storage medium in association with the encrypted data, and the control unit stores the encryption key in the storage medium when detecting that a button to release the storage medium is pressed as the removal operation of the storage medium by the user, sets the storage medium in a removable state, and when a timeout of an automatic logout function occurs in a state where no operation is made by the user for a predetermined time, the control unit restores a connection state between the storage medium interface and the storage medium to delete the encryption key from the storage medium.