diff options
| author | Levi Durfee <levi.durfee@gmail.com> | 2026-01-08 18:28:27 -0500 |
|---|---|---|
| committer | Levi Durfee <levi.durfee@gmail.com> | 2026-01-08 18:28:34 -0500 |
| commit | 64fd2fc6b2c39ca55fa9635f33c3dde741d2ec2e (patch) | |
| tree | d99988c612e96bd3707993b2a6142993175cf6b6 /README.md | |
| parent | 6b24f73fb3c71062321aa1f7f9694b42b7299a6a (diff) | |
Update readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -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 |
