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

Implementations of cryptographic algorithms for encryption and decryption in Dart.

cipherlib #

Implementations of cryptographic algorithms for encryption and decryption in Dart.

Features #

Ciphers Available methods Source
XOR XOR, xor Wikipedia

Getting started #

The following import will give you access to all of the algorithms in this package.

import 'package:cipherlib/cipherlib.dart';

Check the API Reference for details.

Usage #

Examples can be found inside the example folder.

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
62
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