xxtea 2.0.3
xxtea: ^2.0.3

Dart native js
Flutter Android iOS web

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

XXTEA for Dart #

XXTEA logo

Build Status Pub

Introduction #

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

It is different from the original XXTEA encryption algorithm. It encrypts and decrypts String/Uint8List instead of uint32 array, and the key is also String/Uint8List.

Usage #

import 'package:xxtea/xxtea.dart';

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(str == encrypt_data)
3
likes
100
pub points
95%
popularity

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

Uploader

mabingyao@gmail.com

License

MIT (LICENSE.md)

More

Packages that depend on xxtea