title: Encrypt/Decrypt Password in Oracle Function
body: <p>Due to previously poorly designed structure, the current database that I have to work with stores users' password as text.</p>
  
  <p>Now, I am building a front end part that has to use those passwords and I certainly don't want to be sending passwords unencrypted.</p>
  
  <p>My idea is to write an Oracle function to encrypt and decrypt text password and use those functions in the stored procedures that will return encrypted data.</p>
  
  <p>What would be the best approach in Oracle to do so?</p>