def gen_new_seed(seed, salt):
if seed is None:<EOL><INDENT>return None<EOL><DEDENT>string = (str(seed) + salt).encode("<STR_LIT:utf-8>")<EOL>return int(hashlib.md5(string).hexdigest()[:<NUM_LIT:8>], <NUM_LIT:16>) & <NUM_LIT><EOL>
Generate a new seed, from the given seed and salt.