flutter_chacha20_poly1305 0.0.6 flutter_chacha20_poly1305: ^0.0.6 copied to clipboard
ChaCha20-Poly1305 encryption/decryption for Flutter. Encrypt binary and text-like data with ease. Native implementations make sure it has the fastest performance.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_chacha20_poly1305
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_chacha20_poly1305: ^0.0.6
Alternatively, 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:flutter_chacha20_poly1305/flutter_chacha20_poly1305.dart';