Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.security > #49

AES Encryption and saving

From pavel.orehov@gmail.com.remove-dii-this
Subject AES Encryption and saving
Message-ID <1194260705.867908.326340@d55g2000hsg.googlegroups.com> (permalink)
Newsgroups comp.lang.java.security
Date 2011-04-27 16:07 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.security
I am using AES encryption in order to ecrypt sensitive data and save
it to an XML file.
There are some sample for AES encryption at
http://www.java2s.com/Code/Java/Security/Basicsymmetricencryptionexample.htm

The problem is that the encypted String can't be saved to XML because
contain illegal for XML characters.

So my question is how can I encypt using AES but in a way so that the
output encrypted String will be possible for saving to an XML file.

Thanks,
Pave;

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.security | Previous | NextNext in thread | Find similar


Thread

AES Encryption and saving pavel.orehov@gmail.com.remove-dii-this - 2011-04-27 16:07 +0000
  Re: AES Encryption and sa "Tomislav Petrovic" <tomislav.petrovic@THRWHITE.remove-dii-this> - 2011-04-27 16:07 +0000

csiph-web