Sebbo.... the word you looking for is SYMMETRICAL encryption....
I think Sun has an Class... cant remember.
Anyway have a look at things like DES... and the one I like IDEA.
You can read up on all that stuff and I'm pretty sure you will find java
implementations.
I did have this all coded a long time ago... but I dont know where I put it
off hand.
Probably better to use a Sun lib anyway...
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, May 03, 2007 7:45 PM
Subject: Re: User-password from the HttpServletRequest
I saw, that I can get the password via the Principle: The Tomcat server has
his own implementation of Principle: GenericPrinciple which holds all the
stuff (pw, roles, etc).
I know the problem with the changing of password, but thats not the main
probelm now ;-)
Does somebody know a good encryption/decryption algorithm wich works only
with a password (String)?
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]