feat: neue Datentypen für Nachrichten und deren Eigenschaften hinzufügen
Co-authored-by: aider (gpt-4o) <aider@aider.chat>
This commit is contained in:
@@ -6,3 +6,12 @@ inductive Agent
|
|||||||
| Server : Agent
|
| Server : Agent
|
||||||
| Friend : Nat → Agent
|
| Friend : Nat → Agent
|
||||||
| Spy : Agent
|
| Spy : Agent
|
||||||
|
|
||||||
|
inductive Msg
|
||||||
|
| Agent : Agent → Msg -- Agent names
|
||||||
|
| Number : Nat → Msg -- Ordinary integers, timestamps, ...
|
||||||
|
| Nonce : Nat → Msg -- Unguessable nonces
|
||||||
|
| Key : Key → Msg -- Crypto keys
|
||||||
|
| Hash : Msg → Msg -- Hashing
|
||||||
|
| MPair : Msg → Msg → Msg -- Compound messages
|
||||||
|
| Crypt : Key → Msg → Msg -- Encryption, public- or shared-key
|
||||||
|
|||||||
Reference in New Issue
Block a user