tripledes_nullsafety 1.0.3 copy "tripledes_nullsafety: ^1.0.3" to clipboard
tripledes_nullsafety: ^1.0.3 copied to clipboard

Triple DES and DES block cipher implementation ported from CryptoJS

tripledes-dart #

Triple DES and DES block cipher implementation ported from CryptoJS

Build Status

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");
}
9
likes
120
points
1.17k
downloads

Publisher

verified publishernelsoneze.com

Weekly Downloads

Triple DES and DES block cipher implementation ported from CryptoJS

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on tripledes_nullsafety