lum_ccc_fplugin/lib/ccc_cryptography.dart

40 lines
875 B
Dart

/// CCC Cryptography — Flutter plugin providing cross-platform
/// cryptographic operations via `ccc_rust` and `flutter_rust_bridge`.
///
/// Usage:
/// ```dart
/// import 'package:ccc_cryptography/ccc_cryptography.dart';
///
/// await CccCrypto.init();
/// final ct = await CccCrypto.encryptAead(
/// algorithm: CccAeadAlgorithm.aesGcm256,
/// key: key, nonce: nonce, plaintext: data,
/// );
/// ```
library;
// Primary API
export 'ccc_crypto.dart';
// Algorithm enum re-exports (FRB-generated)
export 'src/rust/api/dto.dart'
show
CccAeadAlgorithm,
CccKdfAlgorithm,
CccMacAlgorithm,
CccHashAlgorithm,
CccKemAlgorithm,
CccKemKeyPair,
CccKemEncapResult;
// Exceptions
export 'ccc_exceptions.dart';
// Provider catalog
export 'ccc_provider_catalog.dart';
// Self-test result
export 'ccc_self_test.dart';