mirror of
https://github.com/HACKERALERT/Picocrypt.git
synced 2024-05-14 09:01:19 +00:00
Compare commits
3 commits
e330cfc34f
...
3804a6c60c
Author | SHA1 | Date | |
---|---|---|---|
3804a6c60c | |||
bd5878384e | |||
deabff6e9a |
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in a new issue