cryptography_flutter 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 81

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 #

  • None yet.

In iOS / Mac OS X #

  • aesGcm (AES-GCM)
  • chacha20Poly1305Aead

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

1.0.0 #

  • Initial version

example/lib/main.dart

void main() {
  // ...
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  cryptography_flutter: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:cryptography_flutter/cryptography.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
62
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
81
Learn more about scoring.

We analyzed this package on Jul 9, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14
  • Flutter: 1.17.5

Analysis suggestions

Package does not support Flutter platform linux

Because:

  • package:cryptography_flutter/cryptography.dart that declares support for platforms: android, ios, macos

Package does not support Flutter platform web

Because:

  • package:cryptography_flutter/cryptography.dart that declares support for platforms: android, ios, macos

Package does not support Flutter platform windows

Because:

  • package:cryptography_flutter/cryptography.dart that declares support for platforms: android, ios, macos

Package not compatible with SDK dart

Because:

  • cryptography_flutter that is a package requiring null.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
cryptography ^1.4.0 1.4.1
flutter 0.0.0
Transitive dependencies
charcode 1.1.3
collection 1.14.12 1.14.13
convert 2.1.1
crypto 2.1.5
fixnum 0.10.11
js 0.6.2
meta 1.1.8 1.2.2
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8 2.1.0-nullsafety
Dev dependencies
flutter_test
pedantic ^1.9.0