@Test public void testCompute() throws Exception { assertEquals("a43c1b0aa53a0c908810c06ab1ff3967", new MD5FastChecksumCompute().compute(IOUtils.toInputStream("input", Charset.defaultCharset()), new TransferStatus()).hash); }
@Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.md5, Hex.encodeHexString(this.digest("MD5", this.normalize(in, status)))); }
MD5FastChecksumCompute extends AbstractChecksumCompute { @Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.md5, Hex.encodeHexString(this.digest("MD5", this.normalize(in, status)))); } }
MD5FastChecksumCompute extends AbstractChecksumCompute { @Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.md5, Hex.encodeHexString(this.digest("MD5", this.normalize(in, status)))); }  }
MD5FastChecksumCompute extends AbstractChecksumCompute { @Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.md5, Hex.encodeHexString(this.digest("MD5", this.normalize(in, status)))); }  @Override Checksum compute(final InputStream in, final TransferStatus status); }
MD5FastChecksumCompute extends AbstractChecksumCompute { @Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.md5, Hex.encodeHexString(this.digest("MD5", this.normalize(in, status)))); }  @Override Checksum compute(final InputStream in, final TransferStatus status);  }