Wondering if there's any problems with JDK1.4 / tomcat's MD5 digest? I'm
not getting any exceptions, but I get gobbeldegook instead of and MD5
digest.... Here's a code snippet - am I doing anything wrong?
String newvalue = "some text";
MessageDigest md;
try {
md = MessageDigest.getInstance("MD5");
} catch (Exception e) {
this.password = "CaCrMeDi!";//Can't create
return;
}
md.update(newvalue.getBytes());
md.digest();
String tmp = md.toString();
Cheers,
-Josh
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>