flutter_key_store_cryptography 1.0.1 flutter_key_store_cryptography: ^1.0.1 copied to clipboard
This plugin helps you by generating the assymetric RSA key pair, using which you can use encrypt and verify. The keys are generated and persisted in android/ios keystore.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_key_store_cryptography
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_key_store_cryptography: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_key_store_cryptography/call_method_type_enum.dart';
import 'package:flutter_key_store_cryptography/cipher.dart';
import 'package:flutter_key_store_cryptography/cipher_utils.dart';
import 'package:flutter_key_store_cryptography/exception_message_constant.dart';