Skip to content

Latest commit

 

History

History
 
 

better_cryptography_flutter

Pub Package Github Actions CI

Overview

This is a version of the package better_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.

Licensed under the Apache License 2.0.

Optimized algorithms

In Android

In iOS and Mac OS X

Links

Getting started

In pubspec.yaml:

dependencies:
  cryptography: ^2.0.5
  cryptography_flutter: ^2.0.2

Then just use:

import 'package:better_cryptography_flutter/better_cryptography_flutter.dart';

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

  // ....
}

For APIs, read documentation for package:better_cryptography.

Contributing?

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