An experimental cryptography library. https://lord_mulder.gitlab.io/slunkcrypt/
Go to file
2021-03-20 21:18:46 +01:00
frontend Some build fixes for old MSVC versions. 2021-03-20 21:18:44 +01:00
libslunkcrypt Some code clean-up. 2021-03-20 21:18:46 +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 Use __attribute__((destructor)), if supported by the compiler. 2021-03-20 21:18:45 +01:00
README.md Updated README file. 2021-03-20 21:18:29 +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