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

outdated

An Encrypt and Decrypt Text.

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
0
pub points
66%
popularity

Publisher

unverified uploader

An Encrypt and Decrypt Text.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

crypto, encrypt, flutter

More

Packages that depend on cryptlib_2_0