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
Enc is a command-line tool for encrypting and decrypting files and folders using AES encryption. Encrypted files can only be decrypted with the key specified by the user.
4
+
5
+
## Features
6
+
7
+
- Encrypt files and folders
8
+
- Decrypt encrypted files and folders with the user-specified key
9
+
10
+
## Usage
11
+
12
+
To encrypt a file:
13
+
14
+
enc --encrypt f <file_path>
15
+
16
+
17
+
To encrypt a folder:
18
+
19
+
enc --encrypt F <folder_path>
20
+
21
+
22
+
To decrypt an encrypted file:
23
+
24
+
enc --decrypt f <file_path>
25
+
26
+
27
+
To decrypt an encrypted folder:
28
+
29
+
enc --decrypt F <folder_path>
30
+
31
+
32
+
You will be prompted to enter the encryption/decryption key, which must be at least 16 characters long.
33
+
34
+
## Example
35
+
36
+
Encrypt a file:
37
+
38
+
enc --encrypt f secret.txt
39
+
40
+
41
+
Decrypt the encrypted file:
42
+
43
+
enc --decrypt f secret.txt
44
+
45
+
46
+
## Note
47
+
48
+
Make sure to keep your encryption key secure. Once a file or folder is encrypted, it can only be decrypted with the correct key.
0 commit comments