title: How can I encrypt a Joomla Configuration Parameter that is stored in the database?
body: <p>I found this question, which is identical to what I need to do:
  <a href="https://stackoverflow.com/questions/16600708/how-do-you-encrypt-and-decrypt-a-php-string/30159120#30159120">How do you Encrypt and Decrypt a PHP String?</a>
  I've got everything working to the point of encrypting the data before it is saved. In the event function onExtensionBeforeSave, I have access to the table. I can get the values that need to be encrypted from jinput and encrypt them. What I can't figure out is how to put the encrypted data into the table object in a way that it will replace the un-encrypted data before it is stored/saved.</p>