cipherlib 0.0.1-pre copy "cipherlib: ^0.0.1-pre" to clipboard
cipherlib: ^0.0.1-pre copied to clipboard

outdated

Implementations of cryptographic algorithms for encryption and decryption in Dart.

example/cipherlib_example.dart

import 'package:cipherlib/cipherlib.dart';
import 'package:hashlib_codecs/hashlib_codecs.dart';

void main() {
  var key = [0x54];
  var inp = [0x03, 0xF1];
  print('text: ${toBinary(inp)}');
  print(' key: ${toBinary(key)}');
  print(' XOR: ${toBinary(xor(inp, key))}');
}
4
likes
0
points
222
downloads

Publisher

unverified uploader

Weekly Downloads

Implementations of cryptographic algorithms for encryption and decryption in Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

hashlib, hashlib_codecs

More

Packages that depend on cipherlib