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
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
# 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
This tool only reads input from stdin in order to avoid exposing sensitive information in the process list as arguments.
This project is licensed under the ISC license. (See LICENSE.md)