cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <>
Subject md5 in XSP
Date Wed, 14 Apr 2004 11:17:01 GMT

I'm trying to create md5-chechsum in XSP.

I already have like this: md ="MD5");
     byte[] array = md.digest(password.getBytes());

And it seems to work OK. But problem is, howto get that byte-array to 

I found that in catalina there is org.apache.catalina.util.MD5Encoder 
which seems to do what I want, but I can't use that in XSP.

I've tried

but it won't even compile.

So, how to get that working?

- Joose

"Always remember that you are unique, just like everyone else!"
* * * +358 44 561 0270 *

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message