I found this provider to be a good starting point http://www.bouncycastle.org/latest_releases.html
There are multiple classes available for Message Digest 5 http://www.bouncycastle.org/docs/docs1.5/index.html one of which is Message Digest 5 with Data Encryption Standard see JCEBlockCipher.PBEWithMD5AndDES Does this answer your question? M- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. > Hi, > > I have a JDBC resource configured with tomcat 5.0 (in server.xml) and > it is working fine. > > <Resource name="jdbc/database" auth="Container" > type="javax.sql.DataSource" maxActive="10" maxIdle="15" > maxWait="10000" removeAbandoned="true" removeAbandonedTimeout="300" > logAbandoned="true" driverClassName="com.mysql.jdbc.Driver" > username="USERNAME" password="PASSWORD" url="jdbc:mysql://localhost: > 3306/DB?autoReconnect=true" /> > > I would like to specify the PASSWORD in an encrypted, or at least > encoded, form so it is not cleartext. Checking the docs I see > mention of a digest parameter, but I cannot find any reference to > using this with regard to a JDBC resource. Is such a thing > possible? If not, perhaps someone could point me to the relevant > parts of the source code I need to subclass in order to make it > possible. > > Thanks, > Darren > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >