Skip to content

misterh01/classical_cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!
}

About

Encrypt and Decrypt string using classical ciphers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages