From 8186c7f0e2b262e5f44dc7402f3b2dd450b42555 Mon Sep 17 00:00:00 2001 From: claude Date: Mon, 7 Sep 2026 13:08:40 +0100 Subject: [PATCH] add archival notice to README This repository is being archived. Point readers at the standard-library or community package that replaces it. Co-Authored-By: Claude Sonnet 5 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index c387049..5b319e4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ +> [!IMPORTANT] +> **This repository is archived and no longer maintained.** +> +> The implementation uses `math/rand`, which is not suitable for anything +> security-sensitive, and `Password` has correctness bugs. +> +> **Use instead:** +> - [`crypto/rand`](https://pkg.go.dev/crypto/rand) for tokens, passwords, and anything security-sensitive. +> - [`github.com/matoous/go-nanoid/v2`](https://github.com/matoous/go-nanoid) or [`github.com/google/uuid`](https://github.com/google/uuid) for identifiers. + +--- + # Go Random Functions to create random values. That's about the size of it. -- 2.54.0