hashFunctionForString(key) {
    return Array
      .from(key.toString())
      .reduce((hashIndex, char) => ((41 * hashIndex) + char.codePointAt(0)), 0);
  }
Polynomial hash codes are used to hash String typed keys.
A string is a sequence of characters encoded
using Unicode's numerical value.
@param {any} key converted to string