From cde8ee415e8529edb74b83d14e9abb87bdd26648 Mon Sep 17 00:00:00 2001 From: Levi Durfee Date: Wed, 7 Jan 2026 09:02:49 -0500 Subject: Update readme to reflect changes --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 97fcfc8..6ffcfc3 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3