tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joaquín Sánchez Jiménez <>
Subject Re: Autentication with digest password(Urgent!)
Date Thu, 07 Mar 2002 10:10:11 GMT

Use API.

Supposing "my_password" is a string:

MessageDigest disgest = MessageDigest.getInstance("MD5");
byte[] pwd_digest = digest.digest(my_password.getBytes());

You have "my_password" digested in "pwd_digest".



----- Original Message -----
From: "Galbayar" <>
To: "Tomcat Users List" <>
Sent: Thursday, March 07, 2002 10:42 AM
Subject: Autentication with digest password(Urgent!)

I setup Tomcat 4.0.3 on Win2000 with JDBCRealm and a mysql-database. Using
plain passwords, everything works fine. But I would like digest my password
in the database. how to make this? can u give me step by step tutorial?

Thank in advance

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message