crypto_simple 2.1.0 copy "crypto_simple: ^2.1.0" to clipboard
crypto_simple: ^2.1.0 copied to clipboard

A library for encrypt and decrypt string , very light & simple and fast.

Screenshot

Crypto Simple plugin #

A library for encrypt and decrypt string , very light & simple and fast.

Install Package #

dependencies:
  crypto_simple: ^2.1.0

Add import #

import 'package:crypto_simple/src/crypto_simple.dart';

Super simple to use #

Initialize Package ..

import 'package:crypto_simple/src/crypto_simple.dart';

void main() {
  CryptoSimple(
    superKey: 2023,
    subKey: 47,
    secretKey: "MySecretKey! ;)",
    encryptionMode: EncryptionMode.Randomized,
  );

  ///this part is mandatory
  runApp(MyApp());
}

Using ..

// Your instance string value.
String? _token = 'bearer 5@1#fG!';

// easy encrypt !
String? _encodeResult = CryptoSimple.encrypt(inputString: _token!);

// easy decrypt !
String? _decodeResult = CryptoSimple.decrypti(encrypted: _encodeResult!);

7
likes
140
pub points
67%
popularity
screenshot

Publisher

verified publisherea2.dev

A library for encrypt and decrypt string , very light & simple and fast.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on crypto_simple