hashNew initializes a new fnv64a hash value.
()
| 25 | |
| 26 | // hashNew initializes a new fnv64a hash value. |
| 27 | func hashNew() uint64 { |
| 28 | return offset64 |
| 29 | } |
| 30 | |
| 31 | // hashAdd adds a string to a fnv64a hash value, returning the updated hash. |
| 32 | // Note this is the same algorithm as Go stdlib `sum64a.Write()` |