magic_encryption 1.0.0
magic_encryption: ^1.0.0 copied to clipboard
AES-256-CBC encryption for Magic apps: the Crypt facade, encrypter and key:generate.
Changelog #
All notable changes to this project will be documented in this file.
[Unreleased] #
1.0.0 - 2026-11-14 #
Added #
- First release. AES-256-CBC encryption for Magic apps, moved out of
magiccore. Cryptfacade:encryptanddecryptwith the app key (APP_KEY), andencryptWithDeviceKey,decryptWithDeviceKey,hasDeviceKey,generateDeviceKeyandclearDeviceKeywith a per-device key kept inVault.MagicEncrypter(the cipher),MagicDecryptExceptionandEncryptionServiceProvider(wiring).key:generatecommand, run asdart run magic:dowel key:generate, and adowelplugin provider (MagicEncryptionDowelProvider) thatdart run magic:dowel plugin:install magic_encryptionregisters.- Built on
dowel^1.0.0 andpointycastle^4.0.0. Requires Dart 3.13, Flutter 3.47 andmagic^1.0.0.