encrypt_secure 0.0.1
encrypt_secure: ^0.0.1 copied to clipboard
A reusable Flutter encryption library built on libsodium, providing secure XChaCha20-Poly1305 encryption and decryption with runtime key injection.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add encrypt_secureThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
encrypt_secure: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:encrypt_secure/encrypt_secure.dart';