def _value_path(self, key, value): return os.path.join( self._key_path(key), sha1(value).hexdigest()[:16] )
def _value_path(self, key, value): return os.path.join(self._key_path(key), sha1(value).hexdigest()[:16])
def _hash(key): return sha1(key).hexdigest()[:16]