blowfish_cbc 0.1.1 copy "blowfish_cbc: ^0.1.1" to clipboard
blowfish_cbc: ^0.1.1 copied to clipboard

A Blowfish CBC codec implementation in pure Dart.

Blowfish CBC for Flutter/Dart #

pub: blowfish_cbc License: LGPL v3.0 style: lint

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

Usage #

The BlowfishCBC class fully implements Codec.

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

const key = "Test@12345";
const message = 'Test@123';

final encrypted = BlowfishCBCUtil.encrypt(message, key);
final decrypted = BlowfishCBCUtil.decrypt(encrypted, key);

print('Encrypting "$message" with blowfish CBC base64.');
print('Encrypted: "$encrypted"');
print('Decrypting blowfish CBC base64 "$encrypted".');
print('Decrypted: "$decrypted"');

License #

This project is licensed under the GNU Lesser General Public License v3.0 - see the LICENSE and LICENCE.LESSER file for details.

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 hacker1024 BlowfishECB implementation.

1
likes
110
pub points
16%
popularity

Publisher

unverified uploader

A Blowfish CBC codec implementation in pure Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

flutter, meta

More

Packages that depend on blowfish_cbc