Class MD5CheckSum
java.lang.Object
com.linkedin.venice.kafka.validation.checksum.CheckSum
com.linkedin.venice.kafka.validation.checksum.MD5CheckSum
Running checksum implementation based on BouncyCastle's implementation of MD5.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte[]
getType()
void
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
-
Constructor Details
-
MD5CheckSum
public MD5CheckSum() -
MD5CheckSum
public MD5CheckSum(byte[] encodedState)
-
-
Method Details
-
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
-
getEncodedState
public byte[] getEncodedState()- Overrides:
getEncodedState
in classCheckSum
-