cryptography_flutter 2.0.1
cryptography_flutter: ^2.0.1 copied to clipboard

A version of 'package:cryptography' that speeds up asynchronous invocations with native APIs of Android, iOS, and Mac OS X.

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).

6
likes
120
pub points
79%
popularity

Publisher

dint.dev

A version of 'package:cryptography' that speeds up asynchronous invocations with native APIs of Android, iOS, and Mac OS X.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

cryptography, flutter

More

Packages that depend on cryptography_flutter