Avrotia: DAG-based encrypted message channel protocol
Example
from avrotia import ChatEnclaveDriver
import os
shared_key = os.urandom(32)
alice = ChatEnclaveDriver(b"alice@example.com", b"bob@example.com", shared_key)
bob = ChatEnclaveDriver(b"bob@example.com", b"alice@example.com", shared_key)
cipher = alice.deliver_message({"message": "Hello, Bob! I'm Alice."})
print(bob.receive_message(cipher))
API Doc
See the in-code doctexts.
Metadata
Release files for avrotia 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| avrotia-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / avrotia-0.1.0-py3-none-any.whl
| Download URL | avrotia-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
780782dd51249217d74491fc4b69e58e5378bab05d7120d28fdaf10997f55217
|
|
BLAKE2b-256 checksum How to use checksums |
1106aac57f23dff4a4009816515c65439c6e4a44e4386c52f2f08e18ba0a6275
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|