Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A simple password generator using hash function. You just need to remember one rule, and it will generator strong and unique passwords with the rule for every account.

License

Notifications You must be signed in to change notification settings

gknows/HashPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

哈希密码是一个简单的密码管理工具,通过**账户特征代码+密码生成规则**,为不同账户生成不同的安全密码,即保证了账户的安全性又省去了记忆密码的烦恼。

App Store

密码生成过程

比如设置

个人标识为:gknows@

哈希类型为:md5

哈希次数为:2

密码长度为:16

混合大小写:是

账户特征码可以自己定义,比如我定义为账户域名+h前缀,那么淘宝的特征码为 htaobao,QQ特征码为hqq, 这里加个h前缀也是防止计算规则设置泄漏后被猜解。 你也可以定义自己的特征码,直接用域名,或者加上首字母大写等。

按照上面的设置,那么我的taobao登录密码计算过程为:

  • 对“gknows@htaobao”进行第一次md5计算得到:85c7db2e7a3011fa14de9ab7cc99dff2
  • 因为配置了混合大小写,则每间隔两个字母变换一次大小写,进行混合后为:85c7DB2e7A3011fa14de9Ab7CC99DFf2
  • 对混合后的结果进行第二次md5计算得到:87f83ed197442ed6f5f9201493c7551d
  • 同样对第二次结果进行大小写混合变换得到:87f83Ed197442Ed6F5f9201493c7551d
  • 根据配置,哈希次数为2,密码计算过程完成
  • 根据密码长度设置取前16位得到:87f83Ed197442Ed6

最后的结果“87f83Ed197442Ed6 ”就是登录密码。

About

A simple password generator using hash function. You just need to remember one rule, and it will generator strong and unique passwords with the rule for every account.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published