code: function encode(hexString) {
  	// Convert to array of bytes
  	var bytes = Buffer.from(hexString, "hex");
  	var encoded = base32.stringify(bytes);
  
  	// strip padding & lowercase
  	return encoded.replace(/(=+)$/, '').toLowerCase();
  }
docs: Convert a string of hex characters to a base32 encoded string
  @param {String} hexString The hex string to encode