Skip to content

noshbar/SimpleAjaxChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Simple HTTP Ajax Chat with Encryption

###Dear god why? Really paranoid network administrators sometimes block just about everything, local chat programs, web-based HTTPS chat programs, IRC, SSH... everything except HTTP.
But no one wants that paranoid administrator to sniff the network and see clear-text HTTP messages about how insane he is, so we encrypt the messages using JavaScript.

###How

  • jQuery
  • CryptoJS
  • This simply polls a server for the contents of a log-file.
  • The server returns only new lines since the last poll
  • Sending a message to the server adds it to the log
  • Messages are encrypted using AES and a user-known key before being sent to the server, and decrypted before being displayed
  • Chrome desktop alerts are supported

###Improvements to be made

  • Polling time decay when there is focus (not only when in idle state)
  • Testing in browsers other than Chrome and FireFox
  • Some sort of long-polling that doesn't kill Apache?

About

A very simple 2-file Ajax chat application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages