add archival notice to README #3

Merged
aneurin merged 1 commits from archive-notice into main 2026-09-07 12:33:09 +00:00
Showing only changes of commit 127143267a - Show all commits
+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.