1
0
mirror of https://github.com/HACKERALERT/Picocrypt.git synced 2024-12-28 00:10:13 +01:00
Picocrypt/cli/README.md

17 lines
1.1 KiB
Markdown
Raw Normal View History

2023-04-12 22:33:41 +02:00
# CLI
Before you dive in, keep in mind that the CLI is limited in functionality and not meant to replace the GUI in any remote way. It only works with volumes that don't use any keyfiles or advanced features, and you will still need the GUI to do anything more than basic file encryption. You should only use the CLI when you are not able to run the GUI or need an automatable interface for encrypting and decrypting files.
2023-04-12 03:39:39 +02:00
2023-04-12 22:33:41 +02:00
# Installation
If you don't have Go installed, download it from <a href="https://go.dev/dl/">here</a> or install it from your package manager. Then, run the command below:
2023-04-12 03:39:39 +02:00
```bash
go install github.com/HACKERALERT/Picocrypt/cli/picocrypt@latest
```
2023-04-12 22:33:41 +02:00
You should now be able to run `picocrypt` in your terminal. If not, run `export PATH=$PATH:$(go env GOPATH)/bin` and try again.
2023-04-12 03:39:39 +02:00
2023-04-12 22:33:41 +02:00
# Usage
2023-04-13 04:44:45 +02:00
The CLI is designed to do one thing and one thing only: encrypt and decrypt a single file. Thus, it should be very simple to use:
2023-04-12 22:33:41 +02:00
```
picocrypt -p password <file>
2023-04-12 04:10:24 +02:00
```
2023-04-13 04:44:45 +02:00
It's basic by design, allowing you to use it as a secure building block for automating encryption, writing shell scripts, and so on.