You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Turner <to...@johnturner.com> on 2003/04/28 17:26:38 UTC
Re: FW: - off topic - How to encrypt data that can be read by server and client
Have you looked at the Bouncy Castle site? I don't think there is anything
you need to write.
http://www.bouncycastle.org/index.html
John
On Mon, 28 Apr 2003 14:38:37 +0100, Donie Kelly <do...@tecnomen.ie>
wrote:
> Hi all
> Sorry for the OT but I wondering if anybody has had the need to do the
> following?
> We want to store data in LDAP that is "encrypted" and can be read by
> tomcat
> servlets running on two different machines.
> Both applications are clients are far as the data is concerned so both
> need
> to be able to decrypt it. I would like to be able to write a standalone
> class to do the encryption/decryption but any examples I have found use a
> key which is generated on the machine or is available on the machine.
> Question is how can I embed the private key in the class and use some
> fairly
> strong encryption so the data cannot be hacked by browsing the LDAP
> server...
> Thanks for any insights
> Donie
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org