Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhotmann/hain-plugin-passgen
A Hain plugin for generating passwords
https://github.com/jhotmann/hain-plugin-passgen
Last synced: 22 days ago
JSON representation
A Hain plugin for generating passwords
- Host: GitHub
- URL: https://github.com/jhotmann/hain-plugin-passgen
- Owner: jhotmann
- License: mit
- Created: 2016-06-10T19:25:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-13T21:45:25.000Z (over 8 years ago)
- Last Synced: 2024-10-16T18:17:27.311Z (2 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# How it works
Type /pass [some passphrase here] into Hain. The passgen plugin takes your input string,
appends a unique salt string to it, and then generates a hash. The resulting hash is then
base91 encoded so that it uses all uppercase and lowercase letters, numbers, and standard
symbols. A subset of 15-100 (default is 40 and can be changed in preferences) characters
is picked from the base91 encoded hash and then placed in your clipboard to be pasted into
a password field.Every time you use the same input string, you will get the same result from the passgen
plugin. This allows you to use an easy to remember passphrases to generate lengthy,
complicated passwords that no one can reproduce unless they know your passphrase, salt,
and method of generating passwords.# Installation
1. Install Hain if you haven't already https://github.com/appetizermonster/hain
2. Type `/hpm install hain-plugin-passgen` into Hain
3. Type `/pass` and hit enter in Hain to go to the preferences screen. Paste the randomly generated salt (or a custom salt) into the Salt field
4. Done. You can now generate passwords.## Links to Dependencies
Base91 https://github.com/mscdex/base91.jsSkein hash https://github.com/drostie/sha3-js