secure_env 1.0.1 copy "secure_env: ^1.0.1" to clipboard
secure_env: ^1.0.1 copied to clipboard

Encrypt values from `.secure_env` into Rust ciphertext at build time and read them at runtime via `dart:ffi` (AES-256-GCM). Keeps plaintext secrets out of Dart sources and JNI / Apple native binaries [...]

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.1 — 2026-05-19 #

Added #

Caveats #

  • Not unbeatable security — materially raises the bar versus plaintext-in-Dart; determined reverse engineers remain in scope only as elevated cost.
  • Flutter Web unsupported (dart:ffi); use server-held secrets on web targets.
  • Key names in generated Dart metadata remain visible (values are ciphertext only).
2
likes
140
points
71
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Encrypt values from `.secure_env` into Rust ciphertext at build time and read them at runtime via `dart:ffi` (AES-256-GCM). Keeps plaintext secrets out of Dart sources and JNI / Apple native binaries shipped with your app.

Repository (GitHub)
View/report issues

Topics

#security #secrets #encryption #ffi #environment

License

MIT (license)

Dependencies

args, crypto, cryptography, ffi, flutter

More

Packages that depend on secure_env

Packages that implement secure_env