#!/user/bin/env python3
# -*- coding: utf-8 -*-
import hashlib
import time
def md5_jm(str):
str = str.encode(encoding='UTF-8')
jiamistr = hashlib.md5(str).hexdigest()
return jiamistr
def feilu_jm(password,nowtime):
firststr = "EW234@![#$&]*{,OP}Kd^w349Op+-32_%s%s" % (password,nowtime)
firstjm = md5_jm(firststr)
secondstr = '@345Kie(873_dfbKe>d3<.d23432=' + firstjm
secondjm = md5_jm(secondstr)
print(firststr)
print(secondjm)
if __name__ == '__main__':
password = '11111111'
#这个现行时间戳在登录的时候提交要保持一致,跟加密的时间一致
nowtime = str(int(round(time.time() * 1000)))
feilu_jm(password,nowtime)
python 飞卢网登录js加密密码算法
猜你喜欢
转载自blog.csdn.net/u010590983/article/details/89763119
今日推荐
周排行