title: End to end encrypt a socket.io chat application
body: <p>I am building a socket.io based chat application. </p>
  
  <p>What options do I have to implement end to end encryption over the text &amp; data/files?</p>
  
  <p>Note: I need to support one-to-one and group chats.</p>
  
  <p>Any open source ready to use implementation specifically for socket.io? Googled it but no luck.</p>
  
  <p>If not, then any hints to to implement something of my own?</p>