scry/README.md -rw-r--r-- 1.7 KiB
15b8e799voidraven updated license 11 months ago

License builds.sr.ht 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



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


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

# enter interactively
$ scry
SuperSecretPassword [enter]

-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.

#License / Disclaimer

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