cipherlib 0.0.1-pre
cipherlib: ^0.0.1-pre copied to clipboard
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))}');
}