classical_cipher 0.1.1 icon indicating copy to clipboard operation
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!
}
2
likes
110
pub points
1%
popularity

Publisher

verified publisher iconmisterh.dev

Encrypt and Decrypt strings using popular classical ciphers.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

More

Packages that depend on classical_cipher