docs: public static String getMainAlgorithm(String algorithm) {
  		final int slashIndex = algorithm.indexOf(CharUtil.SLASH);
  		if (slashIndex > 0) {
  			return algorithm.substring(0, slashIndex);
  		}
  		return algorithm;
  	}