File tree Expand file tree Collapse file tree 1 file changed +21
-12
lines changed
Expand file tree Collapse file tree 1 file changed +21
-12
lines changed Original file line number Diff line number Diff line change 44
55## Installation
66
7- ````
7+ ```
88git clone https://github.com/nodesocket/cryptr.git
99ln -s "$PWD"/cryptr/cryptr.bash /usr/local/bin/cryptr
10- ````
10+ ```
1111
1212## API/Commands
1313
1414### encrypt
1515
16- > encrypt \< file\> - Encryptes file with OpenSSL AES-128 cipher block chaining. Writes an encrypted file out * (ciphertext)* appending ` .aes ` extention .
16+ > encrypt \< file\> - Encryptes file with OpenSSL AES-128 cipher block chaining. Writes an encrypted file out * (ciphertext)* appending ` .aes ` extension .
1717
18- ````
18+ ```
1919➜ cryptr encrypt ./secrets-file
2020enter aes-128-cbc encryption password:
2121Verifying - enter aes-128-cbc encryption password:
22+ ```
23+
24+ ```
2225➜ ll
2326-rw-r--r-- 1 user group 1.0G Oct 1 13:33 secrets-file
2427-rw-r--r-- 1 user group 1.0G Oct 1 13:34 secrets-file.aes
25- ````
28+ ```
2629
2730
2831### decrypt
2932
30- > decrypt \< file.aes\> - Decrypt encrypted file using OpenSSL AES-128 cipher block chaining. Writes a decrypted file out * (plaintext)* removing ` .aes ` extention .
33+ > decrypt \< file.aes\> - Decrypt encrypted file using OpenSSL AES-128 cipher block chaining. Writes a decrypted file out * (plaintext)* removing ` .aes ` extension .
3134
32- ````
35+ ```
3336➜ ll
3437-rw-r--r-- 1 user group 1.0G Oct 1 13:34 secrets-file.aes
38+ ```
39+
40+ ```
3541➜ cryptr decrypt secrets-file.aes
3642enter aes-128-cbc decryption password:
43+ ```
44+
45+ ```
3746➜ ll
3847-rw-r--r-- 1 user group 1.0G Oct 1 13:35 secrets-file
3948-rw-r--r-- 1 user group 1.0G Oct 1 13:34 secrets-file.aes
40- ````
49+ ```
4150
4251### help
4352
4453> help - Displays help
4554
46- ````
55+ ```
4756➜ cryptr help
4857Usage: cryptr command <command-specific-options>
4958
@@ -52,16 +61,16 @@ Usage: cryptr command <command-specific-options>
5261 help Displays help
5362 version Displays the current version
5463
55- ````
64+ ```
5665
5766### version
5867
5968> version - Displays the current version
6069
61- ````
70+ ```
6271➜ cryptr version
6372cryptr 1.0.0
64- ````
73+ ```
6574
6675### default
6776
You can’t perform that action at this time.
0 commit comments