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
I need to encrypt usernames and password in my application and save them to an XML file. In addition I need to read these usernames and passwords later from the same XML file and show to a user in not encrypted form.
i am trying to develop a simple program to encrypt and decrypt text in a text file. I am having trouble generating the key and storing the encrypted file and then translating the ANSII/ASCII value to that letter or symbol in the file. any help will be greatly appreciated