add sequence diagram

This commit is contained in:
Adrien Marquès 2018-09-05 17:38:38 +02:00
parent a386ccd5a1
commit b0d8166897
1 changed files with 8 additions and 0 deletions

View File

@ -200,6 +200,14 @@ Each token has a size defined by the *hash function*, which is `sha512` for this
> For readability purposes, the tokens are sent as their hexadecimal representation ; each token is then a string of 128 characters.
```sequence
participant Client
participant Server
Client->Server: x1,x2
Note right of Server : unscramble x1,x2
Note right of Server : x1 valid, store x2
Server->Client: Success
```
### 1. Send the request