title: Does it make any difference of the order Hashing and Encrypting in terms of security?
body: <p>I am implementing a password vault program with java. I have programmed a triple DES for encryption and a SHA256 for hashing. </p>
  
  <p>My question is would it make any difference if I first hash the raw data (password) and then encrypt it, or first encrypt the data (password) then hash the encrypted data. I am mostly concerned about, would it make any serious changes in terms of security.</p>
  
  <p>Thanks</p>