Avrotia: A DAG-based encrypted message channel protocol.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-24 14:25:08 +08:00
avrotia Copy fix 2026-09-23 13:44:28 +08:00
.gitignore Setup.py 2026-09-24 14:25:08 +08:00
README.md initial commit 2026-09-22 23:43:26 +08:00
requirements.txt initial commit 2026-09-22 23:43:26 +08:00
setup.py Setup.py 2026-09-24 14:25:08 +08:00

Avrotia: DAG-based encrypted message channel protocol

Example

from avrotia import ChatEnclaveDriver
import os

shared_key = os.urandom(32)
alice = ChatEnclaveDriver(b"[email protected]", b"[email protected]", shared_key)
bob = ChatEnclaveDriver(b"[email protected]", b"[email protected]", shared_key)

cipher = alice.deliver_message({"message": "Hello, Bob! I'm Alice."})
print(bob.receive_message(cipher))

API Doc

See the in-code doctexts.