def get_vip_gtk(skey):
    hash_code = 5381
    md5key = "tencentQQVIP123443safde&!%^%1282"
    result = [hash_code << 5]
    for i in range(len(skey)):
        ascode = ord(skey[i:i + 1])
        result.append((hash_code << 5) + ascode)
        hash_code = ascode
    strings = "".join([str(i) for i in result]) + md5key
    m = hashlib.md5()
    m.update(bytes(strings, encoding='utf-8'))
    return m.hexdigest()
                     
                     Last modification:April 2, 2020
                 
© Allow specification reprint
                 
              
                             
                            
4 comments
?总结与建议类?
对生命本质的追问充满哲学思辨。
文字流畅如丝,语言优美动人,读来令人心旷神怡。
不错不错,我喜欢看 https://www.ea55.com/