@sequencemedia/crypto 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Both `bytes` and `algorithm` are _optional_
|
|
|
45
45
|
- `bytes` is the number of bytes to slice from the buffer for the decryption _initialisation vector_. The default is `16`
|
|
46
46
|
- `algorithm` is the algorithm to use for decryption. The default is `aes-256-ctr`
|
|
47
47
|
|
|
48
|
-
##
|
|
48
|
+
## Bash
|
|
49
49
|
|
|
50
50
|
Exports two functions, `encrypt` and `decrypt`
|
|
51
51
|
|
|
@@ -77,7 +77,7 @@ file_data=$(decrypt "./encrypted.txt")
|
|
|
77
77
|
decrypt "./encrypted.txt" > "./file.txt"
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
## Bash
|
|
80
|
+
## Bash scripts
|
|
81
81
|
|
|
82
82
|
### `encrypt.sh`
|
|
83
83
|
|