class ConvertUtils {

  public static String padHex(final String hex, int hexStringSize) {
    Validate.isTrue(
        hex.length() <= hexStringSize, "Hex " + hex + " size must be at least " + hexStringSize);
    return StringUtils.rightPad(hex, hexStringSize, '0');
  }

  private  ConvertUtils();

}