Updated documentation
This commit is contained in:
10
README.md
10
README.md
@ -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.
|
Reference in New Issue
Block a user