摘要 |
On receiving security information for a file to be accessed at a device, performing a first hash function on the security information using a salt and a first mixer to compute a key associated with the security information, generating a device identifier (ID) unique to the device, performing a second hash function on the key using the device ID and a second mixer to compute an index associated with the key, wherein the second mixer is different from the first mixer, caching at least one of the security information and. the key in a storage medium, wherein the index refers to the at least one of the security information and the key cached in the storage medium, and. storing the index with the file. The security information may be a passphrase, where the index is stored in the deader or metadata of a file, alongside a flag indicating whether the file supports caching of the security information. |