tripledes_nullsafety

Creator: coderz1093

Last updated:

0 purchases

tripledes_nullsafety Image
tripledes_nullsafety Images

Languages

Categories

Add to Cart

Description:

tripledes nullsafety

tripledes-dart #
Triple DES and DES block cipher implementation ported from CryptoJS

This is ported from CryptoJS. The latest version can be found
bryx/cryptojs or sytelus/CryptoJS
Example #
import 'package:tripledes/tripledes.dart';

main() {
var key = "cipher";
var blockCipher = new BlockCipher(new DESEngine(), key);
var message = "Driving in from the edge of town";
var ciphertext = blockCipher.encodeB64(message);
var decoded = blockCipher.decodeB64(ciphertext);

print("key: $key");
print("message: $message");
print("ciphertext (base64): $ciphertext");
print("decoded ciphertext: $decoded");
}
copied to clipboard

License

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

Customer Reviews

There are no reviews.