A gem that makes ideal passwords in various ways.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
.overcommit.yml
.rubocop.yml
.travis.yml
Gemfile
README.md
passlock.gemspec

README.md

Gem Version Gem Downloads Travis Inline docs

dev build: Travis

passlock

A gem that makes ideal passwords in various ways.

Dependencies

Examples

Installing PassLock is very easy!

gem install passlock

PassLock provides many encryptions...

require 'passlock'
PassLock.base64 'hello'
PassLock.base64hash 'world!'
PassLock.sha1 'how'
PassLock.sha256 'do'
PassLock.sha384 'you'
PassLock.sha512 'do?'

You can also encrypt in layers!

PassLock.base64('somepass', layers: 20)

PassLock also makes modules into String...

'liven'.to_sha1
'up'.to_sha256
'some!'.to_basehash