Package io.minio
Interface Checksum.Hasher
- All Known Implementing Classes:
Checksum.CRC32,Checksum.CRC32C,Checksum.CRC64NVME,Checksum.MD5,Checksum.SHA1,Checksum.SHA256
- Enclosing class:
- Checksum
public static interface Checksum.Hasher
Checksum hasher.
-
Method Summary
Modifier and TypeMethodDescriptionvoidreset()Resets the hasher for further use.byte[]sum()Completes the hash computation by performing final operations such as padding.voidupdate(byte[] b, int off, int len) Updates len bytes from the specified byte array starting at offset off to this hasher.
-
Method Details
-
update
void update(byte[] b, int off, int len) Updates len bytes from the specified byte array starting at offset off to this hasher. -
sum
byte[] sum()Completes the hash computation by performing final operations such as padding. -
reset
void reset()Resets the hasher for further use.
-