Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurkushman/word_of_wisdom
Word of Wisdom TCP Server
https://github.com/arthurkushman/word_of_wisdom
Last synced: 8 days ago
JSON representation
Word of Wisdom TCP Server
- Host: GitHub
- URL: https://github.com/arthurkushman/word_of_wisdom
- Owner: arthurkushman
- Created: 2024-05-04T15:18:03.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-04T15:26:47.000Z (6 months ago)
- Last Synced: 2024-10-11T18:32:47.618Z (about 1 month ago)
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Word of Wisdom TCP Server
To protect the server from DDOS attacks, we use the Proof of Work algorithm.
In this example, we use a simple challenge-response protocol where the client sends a challenge (a random 32-byte string) to the server.The server then performs a Proof of Work calculation on the challenge to verify its validity.
The difficulty of the Proof of Work is set to 10, which means the client must calculate a large number of hashes to find a valid solution.How to install dependencies?:
```bash
make deps
```How to run?:
```bash
make run
```