hl_des

Last updated:

0 purchases

hl_des Image
hl_des Images
Add to Cart

Description:

hl des

hl_des #
Flutter DES encryption and decryption.
Supported: DES/CBC/PKCS7Padding
Getting Started #
Add dependency #
dependencies:
hl_des: ^2.0.2 #latest version
copied to clipboard
Example #
import 'package:hl_des/hl_des.dart';

void example() async {
const string = "Java, android, ios, get the same result by DES encryption and decryption."; // base64
const key = "xxx="; // base64
const iv = "xxx="; // base64

decrypted = await HlDes.desDecrypt(data: string, iv: iv, key: key);
print("decrypted = $decrypted");

final encrypted = await HlDes.desEncrypt(data: decrypted, iv: iv, key: key);
print("encrypted = $encrypted");
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.