Class MessageDigestInputStream.Builder

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

Builds new MessageDigestInputStream.

For example:


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

You must specify a message digest algorithm name or instance.

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

See Also: