From b0d8166897ff5a59359aadf3d3b2f1dceefa99d1 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 5 Sep 2018 17:38:38 +0200 Subject: [PATCH] add sequence diagram --- PROTOCOL.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/PROTOCOL.md b/PROTOCOL.md index 4050e46..fe21ba0 100644 --- a/PROTOCOL.md +++ b/PROTOCOL.md @@ -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