Class MD5CheckSum
- java.lang.Object
-
- com.linkedin.venice.kafka.validation.checksum.CheckSum
-
- com.linkedin.venice.kafka.validation.checksum.MD5CheckSum
-
public class MD5CheckSum extends CheckSum
Running checksum implementation based on BouncyCastle's implementation of MD5.
-
-
Constructor Summary
Constructors Constructor Description MD5CheckSum()
MD5CheckSum(byte[] encodedState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getEncodedState()
byte[]
getFinalCheckSum()
CheckSumType
getType()
void
resetInternal()
void
updateChecksum(byte[] input, int startIndex, int length)
-
Methods inherited from class com.linkedin.venice.kafka.validation.checksum.CheckSum
getCheckSum, getInstance, getInstance, reset, toString, update, update, update, update
-
-
-
-
Method Detail
-
getFinalCheckSum
public byte[] getFinalCheckSum()
- Specified by:
getFinalCheckSum
in classCheckSum
-
updateChecksum
public void updateChecksum(byte[] input, int startIndex, int length)
- Specified by:
updateChecksum
in classCheckSum
-
resetInternal
public void resetInternal()
- Specified by:
resetInternal
in classCheckSum
-
getType
public CheckSumType getType()
-
getEncodedState
public byte[] getEncodedState()
- Overrides:
getEncodedState
in classCheckSum
-
-