11 lines
206 B
Markdown
11 lines
206 B
Markdown
# hash
|
|
|
|
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. |