python 模拟 linux 密码文件 算法

#/usr/bin/python
#coding=utf-8

import crypt #导入crypt模块
import time
salt = '$6$Ndpwv8KI$'
word = 'test'
print crypt.crypt(word,salt)

原文地址:https://www.cnblogs.com/zhaobin022/p/5253234.html