A command-line tool to easily hash your own passwords
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nikobojs d9cf7be732 update readme 2 years ago
src initial commit 2 years ago
.editorconfig initial commit 2 years ago
.gitignore initial commit 2 years ago
LICENSE initial commit 2 years ago
README.md update readme 2 years ago
shard.yml initial commit 2 years ago

README.md

Hash your own passwords

password_generator is command-line tool to generate passwords. It takes two parameters from STDIN: secret and payload.

With a hardcoded salt and the 2 input variables, it generates a SHA256 hash, and displays it in base64.

Example usage:

Enter secret:
Enter payload: sentry
Result: +W2cbbQ39p+3R1Yszh7qXKrcpBVYgbLASU34SzO204Q=

Installation

Run the application:

crystal run src/password_generator.cr

Compile a statically-linked executable:

crystal build src/password_generator.cr --release --no-debug --static

Contributing

  1. Fork it (https://git.nikobojs.com/nikobojs/password_generator)
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a merge request

Contributors