Fix tables
This commit is contained in:
parent
0a6ae61d95
commit
d19e6685cf
@ -37,15 +37,19 @@ initOPCWidgets();
|
|||||||
In HTML attribute "captcha-url", fill the address of API.
|
In HTML attribute "captcha-url", fill the address of API.
|
||||||
## How it works
|
## How it works
|
||||||
**Open Puzzle Captcha** separated by two parts - client widget (for next: widget) and open puzzle captcha API (for next: API). For first, the widget sends request to the API, the API takes random picture (150x150px), splits the picture by 9 fragments (in future version, I can add 4 parts mode), adds changes for this fragments (**It's important. After it, fragments change their hash-sum**). the API generates unique key for every fragment and summorize it by solve key. After it, the API shuffle the parts of picture and send them as response to the widget. The widget don't know which combination is correct (It dictated by abuse safety), the widget spawns the parts of picture in field (for next: shards) and waits before user not solve the puzzle. Every cell of the field has number 1..9:
|
**Open Puzzle Captcha** separated by two parts - client widget (for next: widget) and open puzzle captcha API (for next: API). For first, the widget sends request to the API, the API takes random picture (150x150px), splits the picture by 9 fragments (in future version, I can add 4 parts mode), adds changes for this fragments (**It's important. After it, fragments change their hash-sum**). the API generates unique key for every fragment and summorize it by solve key. After it, the API shuffle the parts of picture and send them as response to the widget. The widget don't know which combination is correct (It dictated by abuse safety), the widget spawns the parts of picture in field (for next: shards) and waits before user not solve the puzzle. Every cell of the field has number 1..9:
|
||||||
|
|
||||||
| 1 | 2 | 3 |
|
| 1 | 2 | 3 |
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| 4 | 5 | 6 |
|
| 4 | 5 | 6 |
|
||||||
| 7 | 8 | 9 |
|
| 7 | 8 | 9 |
|
||||||
|
|
||||||
When user grabbing the shard to the cell, the widget remembers number of this cell and writes key of the cell to the chain of responses. It forms answer of the Captcha. For Example:
|
When user grabbing the shard to the cell, the widget remembers number of this cell and writes key of the cell to the chain of responses. It forms answer of the Captcha. For Example:
|
||||||
|
|
||||||
| 1d23af | 2fde09 | e389a1 |
|
| 1d23af | 2fde09 | e389a1 |
|
||||||
|--|--|--|
|
|--|--|--|
|
||||||
| 4f441d | 5cd456 | 6ff1ce |
|
| 4f441d | 5cd456 | 6ff1ce |
|
||||||
| 7a1def | 8df780 | 9a1d8f |
|
| 7a1def | 8df780 | 9a1d8f |
|
||||||
|
|
||||||
Captcha answer: 1d23af2fde09e389a14f441d5cd4566ff1ce7a1def8df7809a1d8f \
|
Captcha answer: 1d23af2fde09e389a14f441d5cd4566ff1ce7a1def8df7809a1d8f \
|
||||||
This answer will sent to the API and after it, the API compare the answer with the correct solve and return result to widget. If captcha answer is wrong, the API generates new captcha's task and deletes old. Else - the API leave the Success Code which may use for forms in the website.
|
This answer will sent to the API and after it, the API compare the answer with the correct solve and return result to widget. If captcha answer is wrong, the API generates new captcha's task and deletes old. Else - the API leave the Success Code which may use for forms in the website.
|
||||||
More details: [In develop]
|
More details: [In develop]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user