Updated documentation

This commit is contained in:
Eduard Urbach 2023-07-23 21:07:52 +02:00
parent 6c8e74bc5f
commit 2c1c113f86
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -1,3 +1,11 @@
# hash
Hash experiments.
This is a non-cryptographic hash (aka checksum) to verify data integrity.
## API
```go
sum := hash.Bytes(data)
```
You can use `strconv.FormatUint(sum, 16)` to get a string in hexadecimal format.