title: Using keystore with javax.crypto for file encryption/decryption
body: <p>I was advised to look here: <a href="http://exampledepot.com/egs/javax.crypto/DesFile.html" rel="nofollow">http://exampledepot.com/egs/javax.crypto/DesFile.html</a> for the source code of encryption/decryption using import javax.crypto. I have generated my key via keytool and now I don't know how to pass my generated keys into that application for encryption and decryption.</p>
  
  <p>My situation is, that I have a XML file stored online (it stores configuration details) and before I parse it with a XML parser I have to decrypt it. First of all I should of course encrypt it, before it goes online.</p>
  
  <p><strong>Question is: How to pass my generated keys into code visible in link in first row?</strong></p>
  
  <p>Thanks</p>