@Test public void testCompute() throws Exception { assertEquals("cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e", new SHA512ChecksumCompute().compute(new NullInputStream(0), new TransferStatus()).hash); }
@Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.sha512, Hex.encodeHexString(this.digest("SHA-512", this.normalize(in, status)))); }
SHA512ChecksumCompute extends AbstractChecksumCompute { @Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.sha512, Hex.encodeHexString(this.digest("SHA-512", this.normalize(in, status)))); } }
SHA512ChecksumCompute extends AbstractChecksumCompute { @Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.sha512, Hex.encodeHexString(this.digest("SHA-512", this.normalize(in, status)))); }  }
SHA512ChecksumCompute extends AbstractChecksumCompute { @Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.sha512, Hex.encodeHexString(this.digest("SHA-512", this.normalize(in, status)))); }  @Override Checksum compute(final InputStream in, final TransferStatus status); }
SHA512ChecksumCompute extends AbstractChecksumCompute { @Override public Checksum compute(final InputStream in, final TransferStatus status) throws ChecksumException { return new Checksum(HashAlgorithm.sha512, Hex.encodeHexString(this.digest("SHA-512", this.normalize(in, status)))); }  @Override Checksum compute(final InputStream in, final TransferStatus status);  }