docs: function generateAndSetMD5s(message, record, userRecord, state, context) {
    // Get the generateMD5s function to use
    const generateMD5s = settings.getGenerateMD5sFunction(context);
  
    if (!generateMD5s) {
      const errMsg = `FATAL - Cannot generate MD5s, since no 'generateMD5s' function is configured. Configure one & redeploy ASAP!`;
      context.error(errMsg);
      throw new FatalError(errMsg);
    }
  
    // Generate the MD5 message digest(s)
    const md5s = generateMD5s(message, record, userRecord) || {};
  
    // Set the generated MD5 message digest(s) on the given message's state or unusable record's state
    setMD5s(state, md5s);
  
    return md5s;
  }