[jdom-interest] Encrypted XML using JDOM

michael salmon geek at papermedia.com
Wed Aug 2 13:27:41 PDT 2000

Since Element implements Serializable, you can serialize the Element,  then
encrypt the entire thing. The problem with this approach is the extra memory
used to serialize an object, and the time to (de)code it.  If I was doing it
and the security wasnt compromised I would encrypt the
credit-card data and store it as standard Element content data.
Overall whatever the more secure solution is would probably be best.


On Wed, 02 Aug 2000, Jon Baer wrote:
> Hi,
> Im looking for online resource reading on java-based encryption using
> RSA libraries or what not but what I want to do is possibly encrypt an
> Element and its children, anyone have ideas on how this would be
> possible?
> Anyone have expertise in this area?  For example credit card info in
> XML:
> <cc>
> <cardnumber>329832983233</cardnumber>
> </cc>
> What would be some efficient ways to encrypt and decrypt the
> Element("cc")?
> Thanks.
> - Jon
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list