Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci authored Dec 11, 2024
1 parent 345b121 commit 509c5a1
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 509c5a1

Please sign in to comment.