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

outdated

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

example/lib/main.dart

import 'package:crypto_simple/crypto_simple.dart';
import 'package:crypto_simple_example/home_page.dart';
import 'package:flutter/material.dart';

void main() {
  /// if not initialize CryptoSimple you'll have an error .
  /// It is recommended to define CryptoSimple object at the beginning of the main file.
  /// when set superKey value on zero or a negative number or superKey value was divisible by 1114111 you'll automatically have an assert error .
  /// subKey value must between 10~99 , otherwise you'll automatically have an assert error .
  CryptoSimple(superKey: 2, subKey: 12);

  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'CryptoSimple Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'CryptoSimple Home Page'),
    );
  }
}
9
likes
0
pub points
71%
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