Authenticated at-rest encryption and runtime secret protection across Rust, Dart, and Flutter.
This is a Melos and Dart Pub Workspace monorepo:
| Deliverable | Location | Description |
|---|---|---|
at-rest-encryption (crates.io 0.0.1) |
packages/are/rust |
Standalone Rust library (rlib, cdylib, staticlib) and are CLI. Provides page-aligned LockedBuffer memory, idle-encrypted AreSecret handles, ARE\x02 envelopes (Argon2id, raw KEK, X25519 sealing), StreamBE32 chunked streaming, AreVault record storage, legacy v1 compatibility codecs, and a panic-safe C ABI (are.h). |
at_rest_encryption (pub.dev 0.0.2) |
packages/at_rest_encryption |
Pure-Dart package (no Flutter dependency) and CLI (bin/are.dart) binding to libat_rest_encryption via dart:ffi. |
are (pub.dev 0.0.2) |
packages/are |
Flutter FFI plugin companion to at_rest_encryption. Builds and bundles the Rust engine across Android, iOS, Linux, macOS, and Windows via Cargokit, re-exports package:at_rest_encryption/at_rest_encryption.dart, and provides Are.ensureInitialized() and AreLifecycleObserver. |
MIT — see LICENSE.