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.

example/main.dart

import 'package:cryptlib_2_0/cryptlib_2_0.dart';
import 'package:flutter/foundation.dart';

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

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

  if (kDebugMode) {
    print("EecryptedText $encryptText");
  }

  final text =
      CryptLib.instance.decryptCipherTextWithRandomIV(encryptText, "Password");
  if (kDebugMode) {
    print("DecryptedText $text");
  }
}
5
likes
160
points
285
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

crypto, encrypt, flutter

More

Packages that depend on cryptlib_2_0