Skip to content

artlo/wow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WOW - word of wisdom test task

Server

TCP server Server returns random quote from "Quotes storage" Server has DDOS protect with captcha

Client-Server communication

Client->Server:Get
Server-->Client:Captcha task
Client->Server:Captcha solution
Note right of Server: Validating solution
Server-->Client:authentication time signature
Client->Server:Get quotes with authentication code
Server-->Client: quotes

Captcha

Server sends the value, signature for value and precision for solving task Client has to find nonce that hash of value+nonce less then required value The precision can be implemented with dynamic changing to satisfying number of request handled by server

Authentication signature

It's time based signature, so it expires at configured time

About

word of wisdom test task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published