cypher_encrypt 0.0.1 copy "cypher_encrypt: ^0.0.1" to clipboard
cypher_encrypt: ^0.0.1 copied to clipboard

A simple, flexible Dart package for encrypting and decrypting strings using a customizable substitution cypher. Supports custom sequences, variable steps, and works with any UTF-8 string.

example/cypher_encrypt_example.dart

import 'package:cypher_encrypt/cypher_encrypt.dart';

void main() {
  final text = "Cypher the like button! πŸ”";

  // Encrypt with steps = 3
  final encrypted = cypherEncrypt(text, steps: 3);
  print("Encrypted: $encrypted");

  // Decrypt with same steps
  final decrypted = cypherDecrypt(encrypted, steps: 3);
  print("Decrypted: $decrypted");

  // Wrong steps β†’ won’t match
  final wrong = cypherDecrypt(encrypted, steps: 2);
  print("Wrong decryption: $wrong");
}
5
likes
150
points
240
downloads

Publisher

unverified uploader

Weekly Downloads

A simple, flexible Dart package for encrypting and decrypting strings using a customizable substitution cypher. Supports custom sequences, variable steps, and works with any UTF-8 string.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on cypher_encrypt