+
DevOps研发效能
媒体矩阵
开源中国APP
授权协议 BSD
开发语言 Google Go
操作系统 Windows
软件类型 开源软件
所属分类 管理和监控安全相关
开源组织
地区 国产
投 递 者 chai2010
适用人群 未知
收录时间 2013-03-28

软件简介

PwdGen为一个随机密码生成工具, 生成密码由大小写字母和数字组成. 支持KeePass 1.x格式.

常见用法:


$ pwdgen id0
$ pwdgen id0 id1 id2

$ pwdgen --encrypt-key=111 id0
$ pwdgen --encrypt-key=111 id0 id1 id2

$ pwdgen --encrypt-key=111 --encrypt-salt=fuckcsdn --site-salt=site0 id0 id1
$ pwdgen --encrypt-key=111 --encrypt-salt=fuckcsdn --site-salt=site0 id0 id1
$ pwdgen --encrypt-key=111 --encrypt-salt=fuckcsdn --site-salt=site0 id0 id1

$ # *.ini -> *.keepass1x.csv
$ pwdgen --keepass-config=config.ini
$ pwdgen --keepass-config=config.ini --encrypt-key=111
$ pwdgen --keepass-config=config.ini --encrypt-key=111 --encrypt-salt=fuckcsdn

$ pwdgen --version
$ pwdgen --help
$ pwdgen -h

算法

PwdGen采用以下算法生成随机密码:

base58(sha512(md5hex(encrypt_key+encrypt_salt)+site_id+site_salt)[0:16]

其中encrypt_key是用户输入的加密口令, base58是为了生成用户友好字符.

安装

如果有Go语言环境的话, 用以下命令安装:

go install "bitbucket.org/chai2010/pwdgen"

Windows用户可以从这里下载可执行程序.

参考


展开阅读全文

评论

点击引领话题📣 发布并加入讨论🔥
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
0 评论
9 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部