예제 #1
0
 def _value_path(self, key, value):
     return os.path.join(
         self._key_path(key),
         sha1(value).hexdigest()[:16]
     )
예제 #2
0
 def _value_path(self, key, value):
     return os.path.join(self._key_path(key), sha1(value).hexdigest()[:16])
예제 #3
0
def _hash(key):
    return sha1(key).hexdigest()[:16]
예제 #4
0
def _hash(key):
    return sha1(key).hexdigest()[:16]