code: function _getUi5LibHash(sResolvedModulePath, sLibPreloadPath, oOptions) {
    // read relevant resources for hash generation
    const oLibPreloadFileContent = fs.readFileSync(sLibPreloadPath, 'utf8')
  
    // generate hash based on resource contents of the library
    const aBufferList = [oLibPreloadFileContent].map(
      oContent => new Buffer(oContent)
    )
    const sNewHash = _createHash(aBufferList, oOptions)
  
    return sNewHash
  }
docs: Generate hash for UI5 control library.
  @param {string} [sResolvedModulePath] Module path.
  @param {string} [sLibPreloadPath] Path to library-preload.js.
  @param {Object} [oOptions] Cach buster options.
  @param {Object} [oOptions.hash] Hash generation options.
  @param {string} [oOptions.HASH_TYPE] Hash type.
  @param {string} [oOptions.DIGEST_TYPE] Digest type.
  @param {number} [oOptions.MAX_LENGTH] Maximum hash length.
  @returns {string|null} Generated hash.