An AES-256 encrypted chatroom server & client based on UDP
- UDP protocol
- Communication with Json format between C & S
- Local configuration with Json format
- AES-256 encryption
- random KEY when running the server
The client configuration file located at ~\chat-config.json
.
Sample
{
"listen": ":52915",
"remote": "127.0.0.1",
"key": "AzonXhdbWCYoAA52GTE9FnldZEN4KhEsInFJe1oHYAgzQTRsCyEdUlBOPzd3HxgFbTAudDZobiU8TQYbURBFWVdvMisNSn5UIw8kei0gcjl1cGkeFTV9U0tEY2YaCkdPYl9nZRQSBGsMQgFzVlxhL0hGAlV/O0A+OGoJfBwpE0w="
}
The user should set his ID and nickname when running the client.
./client
The client configuration file located at~\chat-config.json
.
Sample
{
"listen": ":52915",
"remote": "", //can be empty
"key": "AzonXhdbWCYoAA52GTE9FnldZEN4KhEsInFJe1oHYAgzQTRsCyEdUlBOPzd3HxgFbTAudDZobiU8TQYbURBFWVdvMisNSn5UIw8kei0gcjl1cGkeFTV9U0tEY2YaCkdPYl9nZRQSBGsMQgFzVlxhL0hGAlV/O0A+OGoJfBwpE0w="
}
./server