MaddieM4 / python-libcps

Cryptographic Persistent Storage - uses the EJTP Crypto library and various database backends for flexible and encrypted data storage and retrieval.
GNU Lesser General Public License v3.0
2 stars 1 forks source link

HashStorage class, a layer of hash checking for storage objects. #4

Open MaddieM4 opened 11 years ago

MaddieM4 commented 11 years ago

Should have properties:

Where retrieve raises a ValueError if the data provided by self.storage doesn't match the hash. All values are stored with their hash as the key.