Overview
This is a version of the package cryptography that optimizes performance of some cryptographic algorithms by using native APIs of Android, iOS, and Mac OS X. You must use asynchronous methods to get the performance boost.
Optimized algorithms
In Android
- None yet.
In iOS / Mac OS X
- aesGcm (AES-GCM)
- chacha20Poly1305Aead
Links
Getting started
In pubspec.yaml:
dependencies:
cryptography_flutter: ^1.4.0
Then just use:
import 'package:cryptography_flutter/cryptography.dart';
For more instructions, read documentation for cryptography.
Contributing?
Testing
Run "no plugin available" tests:
flutter test
Run e2e tests:
cd example
flutter driver test/cryptography_flutter_e2e.dart
Libraries
- cryptography_flutter
- An optimized version of package:cryptography.