title: how to store CryptoJS encrypted password in database
body: <p>i am quite new to CRYPTO JS encrypted stuff and i am trying to store encryted hash in database(I am trying to store in firebase database).</p>
  
  <pre><code>    var hash = CryptoJS.AES.encrypt('my message', 'secret key 123');
  </code></pre>
  
  <p>I am trying to store hash variable in database.
  But when i am trying to store, it shows me error that it is function, not possible to store.</p>
  
  <p>PS- i am trying to store encryted hash in databse and want to call encrpted hash  on another page of my application from database and decrypt there.</p>
  
  <p>Is that possible? if yes, then please tell me how.
  Thanks</p>