classical_cipher 0.1.1
classical_cipher: ^0.1.1 copied to clipboard

Encrypt and Decrypt strings using popular classical ciphers.

Classical Cipher #

Encrypt and Decrypt string using classical ciphers.

Example #

Using Affine cipher.

import 'package:classical_cipher/classical_cipher.dart';

void main() {
  var affine = Affine(3, 5);
  String encrypt = affine.encrypt("Hello World!");
  String decrypt = affine.decrypt(encrypt);

  print(encrypt); // Armmv Tvemo!
  print(decrypt); // Hello World!
}
1
likes
100
pub points
0%
popularity

Publisher

misterh.dev

Encrypt and Decrypt strings using popular classical ciphers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on classical_cipher