Skip to content

Yet another RC4 cryptor that encodes/decodes bytes and UTF8 strings.

License

Notifications You must be signed in to change notification settings

Moh-Snoussi/simple_rc4_dart

 
 

Repository files navigation

simple_rc4

Actions Status

Yet another RC4 cryptor that encodes/decodes bytes and UTF8 strings.

Usage

The package provides a simple class, [RC4], just create an instance of it with your key, and then pass your data that you want to do encoding/decoding.

A simple usage example:

import 'package:simple_rc4/simple_rc4.dart';

main() {
  RC4 rc4 = new RC4('zonble');
  String input = '中文';
  var bytes = rc4.encodeBytes(utf8.encode(input));
  print(bytes);
}

That's all! Enjoy!

About

Yet another RC4 cryptor that encodes/decodes bytes and UTF8 strings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%