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

outdatedDart 1 only

A Dart library for encryption/decryption mainly based on Bouncy Castle Java library. Most of the classes are ports of Bouncy Castle from Java to Dart. The porting is almost always direct except for so [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add cipher

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  cipher: ^0.0.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:cipher/api.dart';
import 'package:cipher/engines/aes_fast.dart';
import 'package:cipher/modes/sic.dart';
import 'package:cipher/params/key_parameter.dart';
import 'package:cipher/params/parameters_with_iv.dart';
0
likes
0
points
173
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart library for encryption/decryption mainly based on Bouncy Castle Java library. Most of the classes are ports of Bouncy Castle from Java to Dart. The porting is almost always direct except for some classes that had been added to ease the use of low level data. Tests and benchmarks for every algorithm are also provided. The expected results for the tests are computed with the Bouncy Castle Java version and matched against the results got from Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on cipher