Re:Announcing TripleSec - JavaScript encryption combining Sa...
by Perseids on Tuesday September 17, 2013 @04:52PM
(#6401890)
CCM is short for "Counter with CBC-MAC". I does also MAC the encrypted data and is equally slow as using a cipher and HMAC on top of it. A real speed improvement would be the Galois Counter Mode.
The biggest problem you'll have in building a secure chat app is establishing the connection in the first place. To do that, either the participants will have to share a secret, or there will have to be some sort of public-key based handshakes with certified public keys.