code: function encodeHexToBase32_(hexString) {
    const initialPadding = 'ffffffffff';
    const finalPadding = '000000';
    const paddedHexString = initialPadding + hexString + finalPadding;
    const encodedString = encode32_(paddedHexString);
  
    const bitsPerHexChar = 4;
    const bitsPerBase32Char = 5;
    const numInitialPaddingChars =
        initialPadding.length * bitsPerHexChar / bitsPerBase32Char;
    const numHexStringChars =
        Math.ceil(hexString.length * bitsPerHexChar / bitsPerBase32Char);
  
    const result = encodedString.substr(numInitialPaddingChars, numHexStringChars);
    return result;
  }
docs: Encodes a hex string in base 32 according to specs in RFC 4648 section 6:
  https://tools.ietf.org/html/rfc4648
  
  @param {string} hexString the hex string
  @return {string} the base32 encoded string
  @private