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 <noreply@anthropic.com>
This commit was merged in pull request #3.
This commit is contained in:
2026-09-07 13:08:40 +01:00
co-authored by Claude Sonnet 5
parent 0550aec6ad
commit 8186c7f0e2
+12
View File
@@ -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 # Go Random
Functions to create random values. That's about the size of it. Functions to create random values. That's about the size of it.