this is auto generated from API :)
Go to file
JohnE 46478434a4 MOD: updating readme 2026-03-02 23:40:27 -08:00
android NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
docs NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
example NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
ios NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
lib NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
linux NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
macos NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
src NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
windows NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
.gitignore NEW: init commit 2026-02-24 18:54:17 -08:00
.metadata NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
CHANGELOG.md NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
LICENSE NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
README.rst MOD: updating readme 2026-03-02 23:40:27 -08:00
analysis_options.yaml NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
ccc_cryptography.iml NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
ffigen.yaml NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00
pubspec.yaml NEW: flutter plugin ffi 2026-02-24 19:22:56 -08:00

README.rst

========================================
Copius Cipher Chain Cryptography Library
========================================

Overview
========

This document describes the architecture for the **CCC Rust Crypto Provider**,
the first of three milestones in delivering hardware-grade cryptography to the
LetUsMsg application.

===================================  ==========================  ===========================
Repository                           What ships                  Depends on
===================================  ==========================  ===========================
``ccc_rust``                         Pure Rust crypto library    wolfSSL (vendored)
``ccc_dart_plugin``                  Flutter plugin + Dart API   ``ccc_rust`` (git/semver)
``letusmsg`` (existing app)          App integration             ``ccc_dart_plugin`` package
===================================  ==========================  ===========================


Guiding Principles
~~~~~~~~~~~~~~~~~~

1. Every provider reports its own capabilities at runtime — no compile-time
   hard-coding of ``available: true/false``.
2. Algorithm IDs in Rust map 1-to-1 to the integer constants in
   ``cipher_constants.dart`` — zero Dart changes needed when wiring up.
3. Key material is zeroed on drop (``zeroize`` crate) everywhere.
4. A conformance test suite validates NIST/RFC vectors for every algorithm
   before any provider is marked ``available``.
5. The library has no runtime dependency on Flutter; it is consumable by any
   FFI host (Flutter plugin, Python tests, CLI tools).