Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lorenzosinisi/lasslo
Gem install lasslo to generate unique, encryped and secure passwords for your models
https://github.com/lorenzosinisi/lasslo
Last synced: 3 days ago
JSON representation
Gem install lasslo to generate unique, encryped and secure passwords for your models
- Host: GitHub
- URL: https://github.com/lorenzosinisi/lasslo
- Owner: lorenzosinisi
- License: mit
- Created: 2015-06-04T09:54:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-04T10:30:52.000Z (over 9 years ago)
- Last Synced: 2024-05-01T13:09:40.909Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Lasslo - just another 'Human readable' Password generator
Gem install lasslo to generate unique, encryped and secure passwords for your modelsTo generate a random but human password with lenght 10:
```
Lasslo.generate 10
```
To generate a random human password never used for your model with lenght 10:
```
Lasslo.unique 10, :user
```
:user is the name of your model, it can also be :task for Task or whatever you wantTo generate a random human password never used for your model with lenght 10:
```
Lasslo.unique 10, :user
```
To generate an encrypted random human password never used for your model with lenght 10:
```
Lasslo.unique_encrypted 10, :user
```
To decrypt a password
```
Lasslo.decrypt "encryptedpasswordwhatever"
```
To encrypt a password
```
Lasslo.encrypt "encryptedpasswordwhatever"
```