diff --git a/README.md b/README.md index 375e107..5d7ee90 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # hash -Hash experiments. \ No newline at end of file +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. \ No newline at end of file