def _generate_session_id():
    rand = os.urandom(20)
    return sha256(sha256(rand).digest()).hexdigest()
Produces a random 64 character hex-encoded string. The implementation of
dataset/ETHPy150Open ericrasmussen/pyramid_redis_sessions/pyramid_redis_sessions/util.py/_generate_session_id