~voidraven/scry

ref: 7edb3ce5959a44d832b3e537ef8f9dbd83b6e88a scry/README.md -rw-r--r-- 1.7 KiB
7edb3ce5voidraven fixed typo 7 months ago

License Build Status

This tool provides a quick way do generate a Scrypt key from the shell. The normal scrypt cli tool provided here will encrypt and decrypt files for you interactively. But, if you simply want it to give you a key, it cannot. This tool outputs the resulting key in MCF format

#Dependencies

  • libscrypt-dev
  • C++14 capable compiler (e.g. GCC 4.9 / Clang 3.4 or greater )
  • POSIX make

#Installation

Simply run:

git clone https://git.sr.ht/~voidraven/scry
cd scry
make && sudo make install

# if you want to build a debug version
make debug

# if you want to build an optimized version
make opt

# to build and run tests
make test && ./test_scry

#Usage

# echo in your input
$ echo "SuperSecretPassword" | scry

# enter interactively
$ scry
SuperSecretPassword [enter]

Flags:
-s      # provide your own salt (aka nonce)
-n      # cpu/memory cost (default 8192)
-r      # block size (default 8)
-p      # parallelism (default 2)
-h      # shows this help info
-v      # shows the version info

#Notes

This tool only reads input from stdin in order to avoid exposing sensitive information in the process list as arguments.

#License / Disclaimer

This project is licensed under the ISC license. (See LICENSE.md)