encrypt_env library

Generate obfuscated or encrypted Dart files from YAML/JSON configuration.

encrypt_env is a command-line tool, not a library: it exposes no Dart API to import. It reads a YAML or JSON config file and emits a sealed Dart class whose getters decode their values at call time — through multi-layer XOR obfuscation, which adds no dependency, or through AES-256-GCM encryption, which needs fortis and a runtime key. Nested config sections become nested typed classes, so the values are reached with dot syntax instead of string keys.

Install it globally with dart pub global activate encrypt_env and run encrypt_env --help to get started. See the package README for full usage: github.com/edunatalec/encrypt-env.