Open PGP Chat is a basic implementation of chat using MySQL and PHP middleware with all encryption and decryption occurring client side.