title: Is End-to-end encryption possible in Javascript?
body: <p>I'm currently researching the possibilities for creating a (peer2peer) messaging client in terms of encryption thus security. This application will be based on web technologies (if possible). </p>
  
  <p>My questions are: is end-to-end encryption possible with only javascript (client &amp; node.js/peer.js)? If yes: is it correct to look into the HMAC (RSA) kind of encryption techniques? I already tried to understand a bit how these libraries work but I have no luck so far :)</p>
  
  <p>lib's I find interesting but i don't (completely) understand and know how to implement (in this use-case): </p>
  
  <ul>
  <li><a href="http://bitwiseshiftleft.github.io/sjcl/" rel="noreferrer">http://bitwiseshiftleft.github.io/sjcl/</a></li>
  <li><a href="https://github.com/Caligatio/jsSHA" rel="noreferrer">https://github.com/Caligatio/jsSHA</a></li>
  <li><a href="https://code.google.com/p/crypto-js/" rel="noreferrer">https://code.google.com/p/crypto-js/</a></li>
  </ul>
  
  <p>I can try to elaborate more if needed. </p>
  
  <p>UPDATE: 
  The application is going to be a mobile application. The use of web technologies is a bit proof-of-concept.</p>