docs: private static String resolveEnvVar(String envVarName, String mode, boolean bc) {
          final String envVarValue = System.getenv(envVarName);
          if(envVarValue == null || envVarValue.isEmpty()) {
              if(mode != null && mode.startsWith(":-") && mode.length() > 2) {
                  return bc?Hasher.hash(mode.substring(2).toCharArray()):mode.substring(2);
              } else {
                  return null;
              }
          } else {
              return bc?Hasher.hash(envVarValue.toCharArray()):envVarValue;
          }
      }