v2.1.0
xxtea
XXTEA for Dart XXTEA 是一种快速且安全的加密算法。这是 Dart 的 XXTEA 库。
14喜欢 1.2万近 30 天下载130Pub 分数
AndroidiOSWebmacOSWindowsLinux
Dart 的 XXTEA 加密算法库。
以下为英文项目原文快照,最新内容请访问 GitHub。
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.
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 == decrypt_data)
依赖清单 1 项
any先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗