python 模拟 linux 密码文件 算法

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

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

posted on 2016-03-08 11:06  zhaobin022  阅读(236)  评论(0编辑  收藏  举报