@Test(expected = IllegalArgumentException.class) public void testComputeHashPrefixWithInvalidParam5() { hashing.computeHashPrefix("abc", 33); }
public String computeHashPrefix(String expression, int significantBytes) { checkSignificantBytes(significantBytes); int hexDigitsLength = significantBytes * 2; return DigestUtils.sha256Hex(expression).substring(0, hexDigitsLength); }
Hashing { public String computeHashPrefix(String expression, int significantBytes) { checkSignificantBytes(significantBytes); int hexDigitsLength = significantBytes * 2; return DigestUtils.sha256Hex(expression).substring(0, hexDigitsLength); } }
Hashing { public String computeHashPrefix(String expression, int significantBytes) { checkSignificantBytes(significantBytes); int hexDigitsLength = significantBytes * 2; return DigestUtils.sha256Hex(expression).substring(0, hexDigitsLength); }  }
Hashing { public String computeHashPrefix(String expression, int significantBytes) { checkSignificantBytes(significantBytes); int hexDigitsLength = significantBytes * 2; return DigestUtils.sha256Hex(expression).substring(0, hexDigitsLength); }  String computeHashPrefix(String expression, int significantBytes); String computeFullHash(String expression); }
Hashing { public String computeHashPrefix(String expression, int significantBytes) { checkSignificantBytes(significantBytes); int hexDigitsLength = significantBytes * 2; return DigestUtils.sha256Hex(expression).substring(0, hexDigitsLength); }  String computeHashPrefix(String expression, int significantBytes); String computeFullHash(String expression); static final int MIN_SIGNIFICANT_BYTES; static final int MAX_SIGNIFICANT_BYTES; }