File encryptor and decryptor based on ChaCha20 and Poly1305. There is no need to specify options like Decrypt or Encrypt, because they are determined automatically using MAGIC number.
Also, there is no filename dependence, because the original filename is being saved inside the encrypted binary.
USAGE:
rust-file-encryptor [OPTIONS] <FILEPATH>
ARGS:
<FILEPATH> Path to the file
OPTIONS:
-h, --help Print help information
-k, --key <KEY> Key
-p, --preview Preview-only mode
--keep Do not delete original file
- Drag and drop support
rust-file-encryptor <FILEPATH>
> Enter the key: