Changes between 初始版本 and Version 1 of PythonDev


忽略:
时间戳:
2025年2月4日 下午9:59:12 (10个月 前)
作者:
tracme
评论:

--

图例:

未修改
增加
删除
修改
  • PythonDev

    v1 v1  
     1== Python Dev
     2
     3   import hashlib
     4   with open(passwordfile, 'w', encoding='utf-8') as f:
     5       prefix = '%s:%s:' % (username, realm)
     6       value = (prefix + password).encode('utf-8')
     7       line = prefix + hashlib.md5(value).hexdigest()
     8       print(line, file=f)
     9