title: How to encrypt Messages in Django Channels
body: <p>Well i have gone through the tutorials of django channels. But the is a loop hole since there is no explanation on how to encrypt a message in django channel.  Lets say  i have a chat models bellow </p>
  
  <pre><code>class ChatThread(models.Model):
      name=models.CharField(null=True,max_length=200)
  class chat(models.Model):
      thread_id=models.ForeignKey(ChatThread,null=True)
      messages=models.TextField()
  </code></pre>
  
  <p>I want the object of chat to be encrypted when created and decrypted on request within the application. Please i am new to python, so be kind with your explanations. Thanks I am using postgres data base</p>