hacker1024 / blowfish_ecb.dart

A Blowfish ECB codec implementation in pure Dart.

Home Page:https://pub.dev/packages/blowfish_ecb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blowfish ECB for Dart

pub: blowfish_ecb License: AGPL style: lint

A pure Dart Codec implementation for the Blowfish ECB encryption algorithm.

Usage

The BlowfishECB class fully implements Codec.

The following simple usage is adapted from the included example project:

// Instantiate the codec with a key.
final blowfish = BlowfishECB(key);

// Encrypt the input data.
final encryptedData = blowfish.encode(message);

// Decrypt the encrypted data.
final decryptedData = blowfish.decode(encryptedData);

License

Everything is licenced under the GNU Lesser General Public License v3 or above.
See LICENCE and LICENCE.LESSER for more information.

Essentially, if this package is modified in your project, the modified package sources must be released.

Inspiration

The algorithm implementation was ported over from the Versile Python implementation.

About

A Blowfish ECB codec implementation in pure Dart.

https://pub.dev/packages/blowfish_ecb

License:GNU General Public License v3.0


Languages

Language:Dart 100.0%