A string hashing function based on Daniel J. Bernstein's popular 'times 33' hash algorithm.
console.log(hash('{ test: true }'));