From 0893b3cb2d4c9802ff4250f8611d5a4f12ad85a9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 4 Oct 2025 02:21:05 -0600 Subject: [PATCH] doc(envauth): show use of salt generator --- auth/envauth/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/auth/envauth/README.md b/auth/envauth/README.md index e48a0ad..d9b0522 100644 --- a/auth/envauth/README.md +++ b/auth/envauth/README.md @@ -58,9 +58,13 @@ func main() { Salted and hashed password. ```sh -go run ./cmd/pbkdf2-sha256/ 'secret' 'i63wDd7K-60' +go run ./cmd/salt/ 8 +# url-base64: i63wDd7K-60 +``` -derived-key: 553ce8846c2304e93021dab03bacb5ca +```sh +go run ./cmd/pbkdf2-sha256/ 'secret' 'i63wDd7K-60' +# derived-key: 553ce8846c2304e93021dab03bacb5ca ``` `.env`: