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

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

crypto_simple #

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

Get started #

Add dependency #

dependencies:
  crypto_simple: ^2.0.0

Add import #

import 'package:crypto_simple/crypto_simple.dart';

Super simple to use #

Initialize Package ..

import 'package:crypto_simple/crypto_simple.dart';

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

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

Using ..


String? _token = 'bearer 5@1#fG!';
String? _encodeResult =
CryptoSimple.instance.encrypting(inputString: _token!);

/// easy encrypt !
String? _decodeResult =
CryptoSimple.instance.decrypting(encrypted: _encodeResult!);

/// easy decrypt !
9
likes
0
pub points
70%
popularity

Publisher

verified publisherea2.dev

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on crypto_simple