You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+19-4
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,10 @@ safelock-cli
9
9
</a>
10
10
</h1>
11
11
12
-
Fast files encryption (AES-GCM) package and command-line tool built for speed with Go and [Archiver](https://github.com/mholt/archiver) ⚡
12
+
Fast files encryption package and command-line tool built for speed with Go and [Archiver](https://github.com/mholt/archiver) ⚡
13
+
14
+
Utilizing `argon2id` and `chacha20poly1305` for encryption, see [default options](#options).
15
+
13
16
14
17
### Install
15
18
@@ -27,6 +30,7 @@ go get https://github.com/mrf345/safelock-cli@latest
27
30
28
31
Or using one of the latest release binaries [here](https://github.com/mrf345/safelock-cli/releases)
You can find interactive examples of using it as a package to [encrypt](https://pkg.go.dev/github.com/mrf345/safelock-cli/safelock#example-Safelock.Encrypt) and [decrypt](https://pkg.go.dev/github.com/mrf345/safelock-cli/safelock#example-Safelock.Decrypt).
50
54
51
-
### Performance
52
55
53
-
- Encryption should be about **20.2** times faster than `gpgtar`, and the decryption **3.3** times.
54
-
- Encryption should be about **9.1** times faster than `7zip`, and the decryption **9.5** times.
56
+
### Options
57
+
58
+
Following the default options remanded by [RFC9106](https://datatracker.ietf.org/doc/html/rfc9106#section-7.4) and [crypto/argon2](https://pkg.go.dev/golang.org/x/crypto/argon2#IDKey)
| Threads | Number of available cores `runtime.NumCPU()`|
66
+
| Minimum password length | 8 |
67
+
68
+
69
+
### Performance
55
70
56
71
> [!NOTE]
57
72
> You can reproduce the results by running [bench_and_plot.py](benchmark/bench_and_plot.py) (based on [Matplotlib](https://github.com/matplotlib/matplotlib) and [Hyperfine](https://github.com/sharkdp/hyperfine))
0 commit comments