diceware_stuff

时间:2021-04-30 13:27:18
【文件属性】:
文件名称:diceware_stuff
文件大小:5KB
文件格式:ZIP
更新时间:2021-04-30 13:27:18
Ruby Diceware资料(在Ruby中!) 这是生成密码短语的Diceware方法的相当简单且可能是幼稚的实现。 尽管可以在某种程度上进行配置,但它使用标准的/usr/share/dict/words单词列表。 用法 安装软件包 wordlist = WordList.new('/usr/share/dict/words') diceware = Diceware.new(wordlist) passphrase = diceware.generate_passphrase 注意事项 我不确定这是否实际上是世界上最安全的东西,我可能需要返回并使用其他random函数,也许是srand ? 真的不要用这个
【文件预览】:
diceware_stuff-master
----lib()
--------diceware.rb(690B)
--------.diceware.rb.swp(12KB)
----Gemfile(43B)
----.README.md.swp(12KB)
----spec()
--------.diceware_spec.rb.swp(12KB)
--------diceware_spec.rb(1KB)
----examples()
--------usage.rb(156B)
----README.md(594B)
----diceware.gemspec(433B)

网友评论