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:39 +01:00
co-authored by Claude Sonnet 5
parent 2e6dcc598c
commit 127143267a
+18
View File
@@ -1,3 +1,21 @@
> [!IMPORTANT]
> **This repository is archived and no longer maintained.**
>
> These functions are one-line wrappers around the standard library.
>
> **Use instead** — standard library:
> ```go
> import (
> "crypto/sha256"
> "fmt"
> )
>
> sum := fmt.Sprintf("%x", sha256.Sum256([]byte(value))) // hex-encoded SHA256
> ```
> Use `crypto/sha512` the same way for SHA512.
---
# Go Hash
Simple wrapper functions which take arbitrary string input and return string hashes in hex encoding.