xor_dart 1.0.1 copy "xor_dart: ^1.0.1" to clipboard
xor_dart: ^1.0.1 copied to clipboard

Simple XOR symmetric encryption/decryption cipher with or without a secret key

example/main.dart

import 'package:xor_dart/xor_dart.dart';

void main() {
  var xor = Xor('_a_random_key_');

  var plain = 'You are so handsome!';
  var encode = xor.encode(plain);
  var decode = xor.decode(encode);

  print('>>> plain: $plain, encode: $encode, decode: $decode');
  print('>>> decryption result is correct: ${plain == decode}');
}
9
likes
160
points
111
downloads

Publisher

unverified uploader

Weekly Downloads

Simple XOR symmetric encryption/decryption cipher with or without a secret key

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on xor_dart