@InterfaceAudience.Private @InterfaceStability.Evolving public class ChecksumSHA256Impl extends Object implements SharedCacheChecksum
Constructor and Description |
---|
ChecksumSHA256Impl() |
Modifier and Type | Method and Description |
---|---|
String |
computeChecksum(InputStream in)
Calculate the checksum of the passed input stream.
|
public String computeChecksum(InputStream in) throws IOException
SharedCacheChecksum
computeChecksum
in interface SharedCacheChecksum
in
- InputStream
to be checksumedIOException
- io error occur.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.