smart_encrypt 1.0.3 copy "smart_encrypt: ^1.0.3" to clipboard
smart_encrypt: ^1.0.3 copied to clipboard

library for easy use encrypt & decrypt features, generate bytes & string

example/smart_encrypt_example.dart

import 'dart:typed_data';

import 'package:smart_encrypt/smart_encrypt.dart';

void main() {
  print(SmartEncrypt.getRandomNumbers(24));
  print(SmartEncrypt.getRandomString(30));
  print(SmartEncrypt.createDataHash256('Hello world'));

  String str = 'Hello world';
  Uint8List key = SmartEncrypt.createKey();
  Uint8List iv = SmartEncrypt.createIV();

  str = SmartEncrypt.encrypt(str, key, iv);
  print(str);
  print(SmartEncrypt.decrypt(str, key, iv));
}
3
likes
0
points
32
downloads

Publisher

verified publisheranykeylib.ru

Weekly Downloads

library for easy use encrypt & decrypt features, generate bytes & string

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto, encrypt

More

Packages that depend on smart_encrypt