from hashlib import blake2b import time k = str(time.time()).encode('utf-8') h = blake2b(key=k, digest_size=16) h.hexdigest()