Class MessageDigestCalculatingInputStream.Builder

All Implemented Interfaces:
IOSupplier<ObservableInputStream>
Enclosing class:
MessageDigestCalculatingInputStream

Builds a new MessageDigestCalculatingInputStream.

For example:


 MessageDigestCalculatingInputStream s = MessageDigestCalculatingInputStream.builder()
   .setPath(path)
   .setMessageDigest("SHA-512")
   .get();
 

The MD5 cryptographic algorithm is weak and should not be used.

Since:
2.12.0
See Also: