An AES-256 encrypted chatroom server & client based on UDP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
bin
client
core
release
server
Makefile
README-CN.md
README.md

README.md

Chat Room

An AES-256 encrypted chatroom server & client based on UDP

简体中文

Language

  • Golang golang

Features

  • UDP protocol
  • Communication with Json format between C & S
  • Local configuration with Json format
  • AES-256 encryption
  • random KEY when running the server

Client

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

Server

The client configuration file located at~\chat-config.json.

Sample

{
	"listen": ":52915",
	"remote": "", //can be empty
	"key": "AzonXhdbWCYoAA52GTE9FnldZEN4KhEsInFJe1oHYAgzQTRsCyEdUlBOPzd3HxgFbTAudDZobiU8TQYbURBFWVdvMisNSn5UIw8kei0gcjl1cGkeFTV9U0tEY2YaCkdPYl9nZRQSBGsMQgFzVlxhL0hGAlV/O0A+OGoJfBwpE0w="
}

./server

Reference

https://github.com/digitalis-io/golang-udp-chat

https://github.com/gwuhaolin/lightsocks