| * @fileoverview Defining the hashing function in one place. |
| * @author Michael Ficarra |
| //------------------------------------------------------------------------------ |
| //------------------------------------------------------------------------------ |
| const murmur = require("imurmurhash"); |
| //------------------------------------------------------------------------------ |
| //------------------------------------------------------------------------------ |
| //------------------------------------------------------------------------------ |
| //------------------------------------------------------------------------------ |
| * @param {string} str the string to hash |
| * @returns {string} the hash |
| return murmur(str).result().toString(36); |
| //------------------------------------------------------------------------------ |
| //------------------------------------------------------------------------------ |