11 lines
206 B
Markdown
Raw Normal View History

2023-07-22 12:56:33 +00:00
# hash
2023-07-23 19:07:52 +00:00
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.