### Question:
ShortHashing extends AbstractHashing { @Override public String hash(byte[] data) { return subString(hashing.hash(data)); } ShortHashing(Hashing hashing, int length); @Override String hash(byte[] data);  }### Answer:
@Test public void sholdBe32Characters() { String input = "Hello World"; String output = shortHashing.hash(input.getBytes()); System.out.println("output => " + output); assertTrue(shortHashing.matches(input.getBytes(), output)); }