You are asking to install a "secure chat
server" on a raberry pi device.
And I also believe you are asking for a cross-platform client interface to this "secure chat server" running on a rasperry pi?
How about using a client "service" already installed and accessible by everyone?
http://www.chatcrypt.com or
http://www.chatcrypt.com/for_your_site/ may work for your "server"...
Looks pretty slick too.
I did a
Code:
/usr/sbin/tcpdump dst 188.227.227.30 -vv -i eth0 -X
while connected there and ran an obvious test
on a "password", it didn't transmit in the clear even though
http://www.chatcrypt.com is NOT running over https.
Have fun.