From 509c5a16e38223bffbced5d5807484fb03f8ba85 Mon Sep 17 00:00:00 2001 From: xtaci Date: Wed, 11 Dec 2024 15:10:44 +0800 Subject: [PATCH] Update README.md --- README.md | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4b350b1..658769b 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,32 @@ ## Architecture Grasshopper functions as a chained relay system. For example: - ``` -gh = grasshopper -client --------------> relayer1(gh) --------------> relayer2(gh) -----------------> relayer3(gh) --------------------> destination. - plaintext encrypted re-encrypted decrypted + ┌───────────────┐ + │ RE-ENCRYPTION │ + └───────┬───────┘ + │ + │ + │ + │ + ┌────────────┐ ┌────────────┐ │ ┌────────────┐ + │ HOPS │ │ │ │ │ +┌─────────────┐ Client ┌────┐ ClientPLAIN HOPS │ Client HOPS ┌─────────────────┐ +│ │ AES │HOP1┼───────► 3DES TEXT ┌────┐ ▼ BLOWFISH ┌─────┐ │ │ +│ UDP CLIENT ├─────► │ DATA │Hop2│ │ PACKET │Hop1│─────────►│ │ Hop1│─────►│ UDP SERVER │ +│ │ │ ▲ │HOP3│ │ ▲ │Hop2│ │ │ Hop2│ │ │ +└─────────────┘ │ │ └────┘ │ │ └────┘ │ └─────┘ └─────────────────┘ + └────┼───────┘ └─────┼──────┘ └────────────┘ + │ │ + │ │ + │ │ + ┌────┼──────┐ │ + │ │ │ + │ OPTIONAL ┼────────────────────┘ + │ PACKET │ + │ PROCESSOR │ + │ │ + └───────────┘ ``` ## Installation