hi guys,

im currently working on an assignment where i have to create a secure chat room program, it works by one main chat server and then each client can log in and send messages to the server and the server will send the messages back to everyone that is within the room. at the moment everything works, but i have to add encryption which works fine

BUT

each client shares a secretkey with the server ( this s generated via DH parameters) my current problem is that one client will use the secretkey, encrypt the message(DES-CBC) and send to the server, but the server sends that encrypted message to everyone who cant decrypt it as they have their own secretkeys with the server.

is there anyway i could someone save a each clients secretkey into an array of some sort, that way i could decrypt the message onceit reaches the server and then encrypt it again with each clients secretkey and send it accordingly?

thanks guys

Edited 6 Years Ago by initialone1: n/a

Hi..would it be possible for you to send me the codes you used to create the mobile chat room..i'm new to java but i want to create a mobile chat room..please send it to <EMAIL SNIPPED>..thanks

Edited 6 Years Ago by peter_budo: Keep It On The Site - Do not post asking for an answer to be sent to you via email or PM.

Hi..would it be possible for you to send me the codes you used to create the mobile chat room..i'm new to java but i want to create a mobile chat room..please send it to <EMAIL SNIPPED>..thanks

Nobody will send you just because of your request work worth of few weeks because you ask...

Thread closed. I recommend you read this

This question has already been answered. Start a new discussion instead.