hash = function (str) {
  return str.split('').reduce(function (memo, char) {
    return memo * primeMap[char];
  }, 1);
}
Hash a string using the prime number map.

@param  {String} str
@return {Number}