Skip to content

Typecho(数据库中)用户密码的生成及验证

License

Notifications You must be signed in to change notification settings

veoco/typecho-password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typecho-password

Typecho(数据库中)用户密码的生成及验证

使用方法

  1. 安装
pip install typecho-password
  1. 使用
from typecho_password import PasswordContext

m = PasswordContext()
hashed_password = m.hash('123456789ABCabc')
print(m.verify('123456789ABCabc', hashed_password))

About

Typecho(数据库中)用户密码的生成及验证

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages