1, problem Description:
fluorite Cloud System allows users to modify the video encryption key, for security reasons, does not save the user's old plaintext key on the server side, but only saved two timesMD5value, and the server records the cloud storage recording and its corresponding correct key two timesMD5value, when the user logs in, the corresponding relationship is returned, and the user needs to view the old cloud storage recording two times by matching the input plaintext keyMD5value and two times returned by the serverMD5values are consistent to determine whether decryption can be performed. The problem with this scenario is that when the user modifies the video encryption key multiple times, it can be difficult to remember the old key, and our platform does not have the mechanism to restore the key to the user, and to a certain extent it has caused inconvenience.
2and Solutions: 2.1, Description:
Overall idea: The user only need to remember the current set of the latest key, using the current key to encrypt all previous old keys, when the user view the old cloud storage recording, through the current key to decrypt to get all the old key, and continue to match two times MD5 the correct plaintext key to decrypt the value.
2.3 , users in the new phone to view the cloud storage video Flowchart :
Cloud Storage Key Optimization