Sha256: c60800e1ac2a4288e66a7507bb1c57f820cf5004ee4362906cdb66ef359f19dd

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

# pwm

pwm very simply generates reasonably secure passwords. That's it; that's
all it does.

Passwords are chosen from the set of all upper-case letters except I and
O, all lower-case letters except l, and the digits 2 through 9. 0 and O
are not used to avoid confusion with each other. I, l, and 1 are not
used for the same reason.

Starting with version 1.1.0, passwords are guaranteed to contain at
least one upper-case letter, one lower-case letter, and one number.

## Usage

    require 'pwm'
    Pwm.password(length)

The default length is 16. The minimum length is 8. Specifying a length
less than 8 will raise `Pwm::TooShortException`.

You can also call pwm from the command line:

    $ pwm # default 16 character password
    $ pwm 12 # some other length

## Author

Mark Cornick <mark@markcornick.com>

## (Lack of) Copyright

To the extent possible under law, Mark Cornick has waived all copyright
and related or neighboring rights to pwm.

## Flair

[![Build Status][travis-image]][travis-link]

[travis-image]: https://secure.travis-ci.org/markcornick/pwm.png?branch=master
[travis-link]: http://travis-ci.org/markcornick/pwm

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pwm-1.2.0 README.md