summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 21 insertions, 2 deletions
diff --git a/README.md b/README.md
index 141b73b..a048eb0 100644
--- a/README.md
+++ b/README.md
@@ -43,12 +43,31 @@ XGfpiNUvKJy8k7KeUEyhev4jkTIajb1s9CMJP9xH/7A=
```
2. Set `GOAES_PASSPHRASE` to the passphrase.
-3. Run the `goaes` command.
+3. Run the `goaes encrypt` command.
```bash
export GOAES_PASSPHRASE=XGfpiNUvKJy8k7KeUEyhev4jkTIajb1s9CMJP9xH/7A=
-goaes encrypt -s ./input.txt -d ./output.enc
+goaes encrypt ./input.txt
+```
+
+```bash
+hexdump -C ./input.txt.goaes
+
+00000000 3e 7f 03 01 01 14 45 6e 63 72 79 70 74 65 64 44 |>.....EncryptedD|
+00000010 61 74 61 50 61 79 6c 6f 61 64 01 ff 80 00 01 03 |ataPayload......|
+00000020 01 03 44 45 4b 01 0a 00 01 04 53 61 6c 74 01 0a |..DEK.....Salt..|
+00000030 00 01 07 50 61 79 6c 6f 61 64 01 0a 00 00 00 ff |...Payload......|
+00000040 8d ff 80 01 3c a6 d4 3d 5d ab b3 49 74 dd 5d 0f |....<..=]..It.].|
+00000050 1d bc 93 01 78 c9 5a 39 37 53 8f 09 40 56 00 a0 |....x.Z97S..@V..|
+00000060 5a a2 03 7c 71 ae 2f 54 f4 fc d9 0d f4 35 b5 df |Z..|q./T.....5..|
+00000070 21 e0 18 ef 54 60 3b 61 38 f5 3b 79 be 08 c4 a5 |!...T`;a8.;y....|
+00000080 c4 01 20 49 2d 4d 72 02 d0 43 a3 e6 2c 30 6f ba |.. I-Mr..C..,0o.|
+00000090 66 ed cd b4 13 d6 24 8f e4 8c 07 5a 09 0a a2 e8 |f.....$....Z....|
+000000a0 75 08 8f 01 28 b5 16 a9 f4 98 6d 55 32 86 57 01 |u...(.....mU2.W.|
+000000b0 09 24 4f 82 72 ba 0f ee 88 6d 07 b8 e3 ff af 16 |.$O.r....m......|
+000000c0 89 45 bb 87 50 e0 a2 82 ee 25 88 63 7d 00 |.E..P....%.c}.|
+000000ce
```
### usage