• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Feature Requests (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Encrypt chat?

This forum is now locked as we will no longer be developing the v1.x branch

Moderators: OldWolf, re*s.t.a.r.s.*2

Topic locked
4 posts • Page 1 of 1

Postby Sh1no » Sun Jan 15, 2012 4:45 pm

Hi,

I am not sure if this was mentionned before but I did a quick search and couldn't find anything on it.
I was looking for a way to encrypt the text being sent and received between chats.
Since I liked the idea of what you see on screen private between the participants and not having to worry about sniffing on the network, I was looking for a way to implement this.
I basically played with the source code a bit and with help of added functions I was able to come up with a temp solution which seems to work.
It doesn't encrypt everything but the chat itself seems secure enough.
What it is basically doing is this:
- When you type in the text input, the client encrypts the data using javascript with a cypher key, converts it to hex and base 64 encode it, then sends the msg to the server.
- The server decodes it, converts the hex and then decrypts it using the same cypher key.
- It does what it does to the msg like convert urls etc.
- It re-encrypts the msg and sends it back.
- The clients read the new msg and decrypt it using javascript on screen.

If i look at the chat logs, everything that is said between participants is encrypted therefore not readable.

For me this solution works, but im thinking that it would be a great feature to add to this project for anyone who would prefer to have their chat private.
What do you guys think?
Sh1no
New member
 
Posts: 2
Joined: Sun Jan 15, 2012 4:34 pm
Top

Postby re*s.t.a.r.s.*2 » Sun Jan 15, 2012 5:36 pm

Hi,

Its good idea, but not optimization wise since the chat has many weak spots in performance , it would be a lot of work added to the server itself..

but is a good idea ..

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby Sh1no » Sun Jan 15, 2012 5:49 pm

So you are saying it would put a lot of load on the server with many people in the chatroom etc?
Sh1no
New member
 
Posts: 2
Joined: Sun Jan 15, 2012 4:34 pm
Top

Postby re*s.t.a.r.s.*2 » Sun Jan 15, 2012 8:26 pm

hi,

correct, add the httrequest every 2 seconds then when user logs send the amount of whois2 command to get the nicknames and metas from all connected user, then send the message encrypt it then when return to the user decrypted..
As you can see its a great load to the server...

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top


Topic locked
4 posts • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

Users browsing this forum: No registered users and 2 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub