Sha256: c48ab07000f21dfa7ec1608cbf129a4246a587fb536cf0376ecfa293df1e0c36

Contents?: true

Size: 1.38 KB

Versions: 6

Compression:

Stored size: 1.38 KB

Contents

= to_pass

== Transformation of a String to a Password.

Passwords should be easy to remember and hard to guess.  One technique is to
have a sentence which can be easily remembered transformed to a password.

This library encapsulates that and satisfies different usage scenarios.
Currently, only two algorithms are provided. But they are YAML-Files, so it's
extensible.

== Usage

=== IRB

ToPass::Integration provides a to_pass Method which transforms a sentence to a
password.

  irb> require 'lib/to_pass'
  irb> String.send(:include, ToPass::Integration)
  irb> "Da steht ein Pferd auf dem Flur".to_pass
  # => "Ds1P@dF"

=== CLI

  $ to_pass "test"   # => t35t
  $ to_pass "there is one problem for us, too" -a basic_en # => ti1p4u2

=== CLI with Pipes

This example is Mac OSX-centric, but you should get the point.

  $ echo "test" | to_pass | pbcopy

== Note on Patches/Pull Requests

* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
  (if you want to have your own version, that is fine but bump version in a
  commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2010 Matthias Viehweger. See LICENSE for details.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
to_pass-0.5.2 README.rdoc
to_pass-0.5.0 README.rdoc
to_pass-0.4.0 README.rdoc
to_pass-0.2.4 README.rdoc
to_pass-0.2.3 README.rdoc
to_pass-0.2.2 README.rdoc