1
0
Fork 0
mirror of https://github.com/HACKERALERT/Picocrypt.git synced 2024-05-14 09:01:19 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
Evan Su 3804a6c60c Add a newline on cancel CLI 2024-04-27 21:50:54 -04:00
Evan Su bd5878384e
Update CLI usage 2024-04-27 14:20:49 -04:00
Evan Su deabff6e9a Remove extra space 2024-04-27 14:10:03 -04:00
2 changed files with 9 additions and 3 deletions

View file

@ -7,8 +7,13 @@ You should now be able to run `picocrypt` in your terminal. If not, run `export
# Usage
```
C:\Users\Evan>picocrypt
Usage: picocrypt [-p]aranoid [-r]eedsolo <item1> [<item2> ...]
Items: can be a file (cat.png), folder (./src), or glob (*.txt)
Usage: picocrypt <item1> [<item2> ...]
Items: can be files, folders, or globs
Flags:
-f (decryption) attempt to fix corruption
-k (decryption) keep output even if corrupted
-p (encryption) use paranoid mode
-r (encryption) encode with Reed-Solomon
```
## Examples
To encrypt a single file:

View file

@ -612,7 +612,7 @@ func work() int {
fin.Close()
fout.Close()
fmt.Println("Completed -> ", fout.Name())
fmt.Println("Completed ->", fout.Name())
return 0
}
@ -654,6 +654,7 @@ func main() {
fmt.Print("Failure.")
}
}
fmt.Println()
os.Exit(1)
}()