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

XXTEA for Dart XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for Dart.

example/main.dart

library xxtea_test;

import 'package:xxtea/xxtea.dart';

void main() {
  String str = "Hello World! 你好,中国🇨🇳!";
  String key = "1234567890";
  String? encrypt_data = xxtea.encryptToString(str, key);
  print(encrypt_data);
  String? decrypt_data = xxtea.decryptToString(encrypt_data, key);
  print(decrypt_data);
}
14
likes
130
pub points
93%
popularity

Publisher

unverified uploader

XXTEA for Dart XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on xxtea