Pub Package Github Actions CI

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

  • AES_CBC
  • AES_CTR
  • AES_GCM
  • CHACHA20_POLY1305_AEAD

In iOS and Mac OS X

  • AES_GCM
  • CHACHA20_POLY1305_AEAD

Getting started

In pubspec.yaml:

dependencies:
  cryptography: ^2.0.0
  cryptography_flutter: ^2.0.0

Then just use:

import 'package:cryptography_flutter/cryptography_flutter.dart';

void main() {
  // Enable Flutter cryptography
  FlutterCryptography.enable();

  // ....
}

For APIs, read documentation for package:cryptography.

Contributing?

Test the plugin by running integration tests in cryptography_flutter/example/ (see README in the directory).

Libraries

cryptography
An optimized version of package:cryptography. [...]