python 模拟 linux 密码文件 算法
#/usr/bin/python
#coding=utf-8
import crypt #导入crypt模块
import time
salt = '$6$Ndpwv8KI$'
word = 'test'
print crypt.crypt(word,salt)
#/usr/bin/python
#coding=utf-8
import crypt #导入crypt模块
import time
salt = '$6$Ndpwv8KI$'
word = 'test'
print crypt.crypt(word,salt)