ruby - 不错的密码生成工具: PassGen

访问量: 128

参考:  https://github.com/cryptice/Passgen

基本用法:

>> require 'rubygems'
>> require 'passgen'
>> Passgen::generate
=> "zLWCeS3xC9"

也可以加上参数:

irb(main):006:0> Passgen::generate length: 64, symbols: true    (长度64位,  加上各种符号) 
=> "9zEaMT#mH7!#S2*iGjVzE#K%vb5%4jx7&7T&MiqXshAluZ5Qr+nZKXJ2HdhyUw8f"

订阅/RSS Feed

Subscribe

分类/category