An experimental cryptography library. https://lord_mulder.gitlab.io/slunkcrypt/
Go to file
2021-03-20 21:18:51 +01:00
etc/utils/win32 Added build script for Windows. 2021-03-20 21:18:48 +01:00
frontend Fix for older versions of 'dd' that did not support the 'status=none' flag. 2021-03-20 21:18:51 +01:00
libslunkcrypt Added build script for Windows. 2021-03-20 21:18:48 +01:00
.gitignore Renamed project to "SlunkCrypt", in order to avoid name clashes with existing projects. 2021-03-20 21:18:27 +01:00
LICENSE.txt Initial commit. 2021-03-20 21:17:51 +01:00
Makefile Avoid the use of a "Trigraph" in the test data. 2021-03-20 21:18:50 +01:00
mk-profiled.cmd Added build script for Windows. 2021-03-20 21:18:48 +01:00
mk-profiled.sh Fix for older versions of 'dd' that did not support the 'status=none' flag. 2021-03-20 21:18:51 +01:00
README.md Updated README file. 2021-03-20 21:18:29 +01:00
Slunk.props Added build script for Windows. 2021-03-20 21:18:48 +01:00
Slunk.sln Implemented Win32 DLL support. 2021-03-20 21:18:38 +01:00

SlunkCrypt

An experimental cryptography library and command-line tool.

Use of SlunkCrypt may be illegal in countries where encryption is outlawed. We believe it is legal to use SlunkCrypt in many countries all around the world, but we are not lawyers, and so if in doubt you should seek legal advice before downloading it. You may find useful information at cryptolaw.org, which collects information on cryptography laws in many countries, but we can't vouch for its correctness.

Command-line Usage

Synopsis:

slunkcrypt --encrypt [[@][:]<passphrase>] <input.txt> <output.enc>
slunkcrypt --decrypt [[@][:]<passphrase>] <input.enc> <output.txt>

Commands:

  • --encrypt (-e):
    Encrypt the plaintext in the given input file. The ciphertext is written to the specified output file.
  • --decrypt (-d):
    Decrypt the ciphertext in the given input file. The plaintext is written to the specified output file.
  • --self-test (-t):
    Run self-test and exit application.

Options:

  • If <passphrase> is prefixed with a @ character, then it specifies the file to read the passphrase from.
    Note: Only the first non-empty line in the specified file is used!
  • If <passphrase> is prefixed with a : character, then the leading character is ignored.
  • If <passphrase> is omitted, then the passphrase is read from the SLUNK_PASSPHRASE environment variable.
  • If <passphrase> is set to @-, then the passphrase is read from the standard input stream.

License

This work has been released under the CC0 1.0 Universal license.

For details, please refer to:
https://creativecommons.org/publicdomain/zero/1.0/legalcode