cryptlib_2_0 0.0.3 copy "cryptlib_2_0: ^0.0.3" to clipboard
cryptlib_2_0: ^0.0.3 copied to clipboard

This package is interfacing Cryptlib library in dart. It can also be used in flutter applications.

cryptlib_2_0 #

This package is interfacing Cryptlib library in dart. It can also be used in flutter applications. Using companion framework libraries, you should be able to encrypt/decrypt between node, iOS, Android and Windows platforms.

Features #

Getting started #

Add as dependency in pubspec.yaml file

dependencies:
  flutter:
    sdk: flutter
  cryptlib_2_0: ^0.0.1

Usage #

import 'package:cryptlib_2_0/cryptlib_2_0.dart';

main() {
  const plainText = "Hello World!";

  final encryptText =
  CryptLib.instance.encryptPlainTextWithRandomIV(plainText, "Password");

  print("EecryptedText ${encryptText}");

  final text =
  CryptLib.instance.decryptCipherTextWithRandomIV(encryptText, "Password");
  print("DecryptedText ${text}");
}
* Result for above 
* EecryptedText dkLSCeGtcDVrBtiFsNPG08I76MQRlMOugkI6tsQR36Q= 
* DecryptedText Hello World!

Additional information #

Supported Platforms

platforms:
  android:
  ios:
  linux:
  macos:
  web:
  windows:
5
likes
140
pub points
65%
popularity

Publisher

unverified uploader

This package is interfacing Cryptlib library in dart. It can also be used in flutter applications.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (LICENSE)

Dependencies

crypto, encrypt, flutter

More

Packages that depend on cryptlib_2_0