DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23593>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23593 Add Digest facade around java.security.MessageDigest ------- Additional Comments From [EMAIL PROTECTED] 2003-10-13 21:19 ------- getMd5Digest() is an internal implementation method. You can just use the standard MessageDigest.getInstance() method if you want to use MessageDigest directly. IMHO, these methods should remain private to allow flexibility in changing the class internals. The java language spec. throws InternalError when cloning fails so it's not unprecedented. Regardless, this has already been changed to throw RuntimeException. Exception chaining isn't needed here. Any exception means that MD5 or SHA algorithms aren't available so you wouldn't be using DigestUtils' methods in the first place. That's why they're converted to RuntimeExceptions. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
