Re:Self-Encrypted Cache Structure
by Loranubi on Tuesday November 05, 2019 @10:55PM
(#21459603)
The first implementation makes sense. However the second "hardened" one is completely broken, because now the cache is encrypted with the dictionary key...
[ Parent
| on HN ]
Yes, instead a solution would be:
encryptionKey = hash(salt + key)
dictionaryKey = hash(encryptionKey)