diff options
| author | Levi Durfee <levi.durfee@gmail.com> | 2026-01-07 09:02:49 -0500 |
|---|---|---|
| committer | Levi Durfee <levi.durfee@gmail.com> | 2026-01-07 09:02:54 -0500 |
| commit | cde8ee415e8529edb74b83d14e9abb87bdd26648 (patch) | |
| tree | 0fda34dd65e4cc4747a97cf6082319e9a556a952 | |
| parent | 22ce0770a047b44c8168ec1ccd21b7771903ff42 (diff) | |
Update readme to reflect changes
| -rw-r--r-- | README.md | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -21,7 +21,8 @@ I wanted to write some Go and encryption fascinates me, so I wrote `goaes`. ## getting started -1. Generate a new main key. +1. Generate a new passphrase. +2. Generate a new salt. ```bash goaes generate @@ -31,13 +32,18 @@ Don't use this one. This one is mine. ```bash XGfpiNUvKJy8k7KeUEyhev4jkTIajb1s9CMJP9xH/7A= +tjrXXdH+0/NXSsaDOYuGtEM2zXxWFNPXSPXoli5++iE= ``` -2. Set `SECRET_KEY` to the value of the key you generated. -3. Run the `goaes` command. +3. Set `GOAES_PASSPHRASE` to the passphrase. +4. Set `GOAES_SALT` to the salt. +5. Run the `goaes` command. ```bash -SECRET_KEY=XGfpiNUvKJy8k7KeUEyhev4jkTIajb1s9CMJP9xH/7A= goaes encrypt -s ./input.txt -d ./output.enc +export GOAES_PASSPHRASE=XGfpiNUvKJy8k7KeUEyhev4jkTIajb1s9CMJP9xH/7A= +export GOAES_SALT=tjrXXdH+0/NXSsaDOYuGtEM2zXxWFNPXSPXoli5++iE= + +goaes encrypt -s ./input.txt -d ./output.enc ``` ### usage |
