A gem that makes ideal passwords in various ways.
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