<pre><code>def getVMS(tvid, vid): t = int(time.time() * 1000) key = 'd5fb4bd9d50c4be6948c97edd7254b0e' sc = hashlib.new('md5', bytes(str(t) + key + vid, 'utf-8')).hexdigest() return sc</code></pre>