You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/changes/changes.xml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ The <action> type attribute can be add,update,fix,remove.
73
73
<actiondev="ggregory"type="add"due-to="Gary Gregory">Add support to ThrottledInputStream for setting a consumer for ProxyInputStream.afterRead(int).</action>
74
74
<actiondev="ggregory"type="add"due-to="Gary Gregory">Add support to ObservableInputStream for setting a consumer for ProxyInputStream.afterRead(int).</action>
75
75
<actiondev="ggregory"type="add"due-to="Gary Gregory">Add support to MessageDigestCalculatingInputStream for setting a consumer for ProxyInputStream.afterRead(int).</action>
76
+
<actiondev="ggregory"type="add"due-to="Gary Gregory">Add support to MessageDigestInputStream for setting a consumer for ProxyInputStream.afterRead(int).</action>
76
77
<!-- UPDATE -->
77
78
<actiondev="ggregory"type="update"due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 74 to 78 #670, #676, #679, #688.</action>
78
79
<actiondev="ggregory"type="update"due-to="Gary Gregory">Bump commons.bytebuddy.version from 1.15.1 to 1.15.10 #672, #673, #685, #686, #694, #696, #698.</action>
* This class is an example for using an {@link ObservableInputStream}. It creates its own {@link org.apache.commons.io.input.ObservableInputStream.Observer},
29
28
* which calculates a checksum using a {@link MessageDigest}, for example, a SHA-512 sum.
@@ -62,12 +61,18 @@ public final class MessageDigestInputStream extends ObservableInputStream {
62
61
* <p>
63
62
* You must specify a message digest algorithm name or instance.
64
63
* </p>
64
+
* <p>
65
+
* <em>The MD5 cryptographic algorithm is weak and should not be used.</em>
* Gets the {@link MessageDigest}, which is being used for generating the checksum.
201
+
* Gets the {@link MessageDigest}, which is being used for generating the checksum, never null.
195
202
* <p>
196
203
* <em>Note</em>: The checksum will only reflect the data, which has been read so far. This is probably not, what you expect. Make sure, that the complete
197
204
* data has been read, if that is what you want. The easiest way to do so is by invoking {@link #consume()}.
0 commit comments