code: function (input) {
      if (typeof input === 'string') {
        return farmhash.Hash32String(input);
      }
      if (Buffer.isBuffer(input)) {
        return farmhash.Hash32Buffer(input);
      }
      throw new Error('Expected a String or Buffer for input');
    }
docs: Hash methods - platform dependent