def tokey(*args):
    salt = '||'.join([smart_text(arg) for arg in args])
    hash_ = hashlib.md5(encode(salt))
    return hash_.hexdigest()
Computes a unique key from arguments given.
dataset/ETHPy150Open mariocesar/sorl-thumbnail/sorl/thumbnail/helpers.py/tokey